diff options
author | Mikita Lipski <mikita.lipski@amd.com> | 2018-03-15 09:37:08 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-20 23:44:03 -0500 |
commit | 088e7c16170645f1e2298ec6e0029079ef603635 (patch) | |
tree | d99fe9c189125a528fbdece5eda5f755402c37b4 /drivers/gpu/drm/amd/amdgpu/ci_dpm.c | |
parent | ff97cba8c1b24f6017e16ca6facca3c3f32d2c00 (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