drm/amdgpu: Need to disable msix when unloading driver
authorEmily Deng <Emily.Deng@amd.com>
Thu, 7 Nov 2019 02:26:43 +0000 (10:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Nov 2019 23:08:07 +0000 (18:08 -0500)
commite31dcdcfabc1694a2af3a418827605092ac6786f
tree463ff3081d5309642a95126c9f19bf71f5acfc5a
parentf6baa07497fbebcc05096097dfd9f32b8caa50b1
drm/amdgpu: Need to disable msix when unloading driver

For driver reload test, it will report "can't enable
MSI (MSI-X already enabled)".

Signed-off-by: Emily Deng <Emily.Deng@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_irq.c