drm/amdgpu - Disable all irqs before disabling all CRTCs
authorMikita Lipski <mikita.lipski@amd.com>
Thu, 15 Mar 2018 20:53:08 +0000 (16:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 04:44:12 +0000 (23:44 -0500)
commite5b03032e34da84ee765ffbe4e36d344fdd04108
treeb6355a12e9da1c80820266655b8d7803b3142a8f
parent088e7c16170645f1e2298ec6e0029079ef603635
drm/amdgpu - Disable all irqs before disabling all CRTCs

By moving amdgpu_irq_disable_all earlier in the sequence
fixes an issue with disabling pflip interrupts:

*ERROR* dal_irq_service_dummy_ack: called for non-implemented irq source

Earlier patch fixed a memory corruption and revealed irq
warnings.This way it seems to be there no obvious issues
with unloading the module.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c