aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
diff options
context:
space:
mode:
authorMikita Lipski <mikita.lipski@amd.com>2018-03-15 09:37:08 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-03-20 23:44:03 -0500
commit088e7c16170645f1e2298ec6e0029079ef603635 (patch)
treed99fe9c189125a528fbdece5eda5f755402c37b4 /drivers/gpu/drm/amd/amdgpu/ci_dpm.c
parentff97cba8c1b24f6017e16ca6facca3c3f32d2c00 (diff)
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/ci_dpm.c')
0 files changed, 0 insertions, 0 deletions