aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorTrigger Huang <[email protected]>2017-02-20 02:57:39 +0000
committerAlex Deucher <[email protected]>2017-03-30 03:53:19 +0000
commit07c397f934b89e34f33ab4b86bd6863f3274e079 (patch)
tree572dc1a5b241bcfacdc8dcd753b4f096fdac5884 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: bump driver version for new lds buffer query (diff)
downloadkernel-07c397f934b89e34f33ab4b86bd6863f3274e079.tar.gz
kernel-07c397f934b89e34f33ab4b86bd6863f3274e079.zip
drm/amdgpu: Fix module unload hang by KIQ IRQ set
In some cases, manually insmod/rmmod amdgpu is necessary. When unloading amdgpu, the KIQ IRQ enable/disable function will case system hang. The root cause is, in the sequence of function amdgpu_fini, the sw_fini of IP block AMD_IP_BLOCK_TYPE_GFX will be invoked earlier than that of AMD_IP_BLOCK_TYPE_IH. So continue to use the variable freed by AMD_IP_BLOCK_TYPE_GFX will cause system hang. Signed-off-by: Trigger Huang <[email protected]> Reviewed-by: Xiangliang Yu < [email protected]> Reviewed-by: Monk Liu <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions