]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit446947b44fb8cabc0213ff4efd706931e36b1963
treec9393a5df6184c72da1ec3c86131032e7c99eb8c
parentd5a480b44b189bad1d67df5d4c5ed9e6c750e8f2
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