Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/gfx9.4.3: Explicitly halt MEC before init

Need to make sure it's halted as we don't know what state
the GPU may have been left in previously.

Tested-by: Amber Lin <Amber.Lin@amd.com>
Acked-by: Amber Lin <Amber.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+2
+2
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
··· 2248 2248 r = gfx_v9_4_3_xcc_cp_compute_load_microcode(adev, xcc_id); 2249 2249 if (r) 2250 2250 return r; 2251 + } else { 2252 + gfx_v9_4_3_xcc_cp_compute_enable(adev, false, xcc_id); 2251 2253 } 2252 2254 2253 2255 r = gfx_v9_4_3_xcc_kiq_resume(adev, xcc_id);