]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix rmmod KCQ disable failed error
authorWang Hongcheng <Annie.Wang@amd.com>
Fri, 17 Nov 2017 02:39:02 +0000 (10:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Nov 2017 15:45:05 +0000 (10:45 -0500)
commit83d48aca9e8e5c9da47e3a433917850e00a63636
treec9393a5df6184c72da1ec3c86131032e7c99eb8c
parente5bc130abc6679d60b5757b46542fe554467359f
drm/amdgpu: fix rmmod KCQ disable failed error

If  gfx_v8_0_hw_fini is called after amdgpu_ucode_fini_bo, we will
hit KCQ disabled failed. Let amdgpu_ucode_fini_bo run after
gfx_v8_0_hw_fini.

BUG: SWDEV-135547
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Wang Hongcheng <Annie.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c