diff options
author | 2018-03-15 09:37:08 -0400 | |
---|---|---|
committer | 2018-03-20 23:44:03 -0500 | |
commit | 088e7c16170645f1e2298ec6e0029079ef603635 (patch) | |
tree | d99fe9c189125a528fbdece5eda5f755402c37b4 /drivers/gpu/drm/amd/amdgpu/si_dpm.c | |
parent | drm/amdgpu: Use atomic function to disable crtcs with dc enabled (diff) | |
download | linux-dev-088e7c16170645f1e2298ec6e0029079ef603635.tar.xz linux-dev-088e7c16170645f1e2298ec6e0029079ef603635.zip |
drm/amdgpu: Disable irq on device before destroying it
Disable irq on devices before destroying them. That prevents
use-after-free memory access when unloading the driver.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si_dpm.c')
0 files changed, 0 insertions, 0 deletions