aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
diff options
context:
space:
mode:
authorTrigger Huang <trigger.huang@amd.com>2017-02-19 21:57:39 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:19 -0400
commit07c397f934b89e34f33ab4b86bd6863f3274e079 (patch)
tree572dc1a5b241bcfacdc8dcd753b4f096fdac5884 /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
parentdfe38bd8344c40e8e21470ac4eadc1e23e89ba8b (diff)
downloadlinux-07c397f934b89e34f33ab4b86bd6863f3274e079.tar.gz
linux-07c397f934b89e34f33ab4b86bd6863f3274e079.tar.bz2
linux-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 <trigger.huang@amd.com> Reviewed-by: Xiangliang Yu < Xiangliang.Yu@amd.com> Reviewed-by: Monk Liu <monk.liu@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions