]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef8216b29ee3f1a06ef0e4880d09da2c27bc7274
treeb6355a12e9da1c80820266655b8d7803b3142a8f
parent89ac0263a7124beb4193bebe4ddf3bec111fcb9f
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