aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>2018-03-21 14:17:25 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 15:04:42 -0500
commitb6356df3eb9ad9ae12efb4ec37d5615065e51d8b (patch)
treed3365b3d106da4251f1f00108c2b7e3a2b66a2c1 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent2333bf9ad960eb78a3ce5de6943c2b725e50e69b (diff)
drm/amdgpu: Fix NULL ptr on driver unload due to init failure.
Problem: When unloading due to failure amdgpu_device_fini was called twice which was leading to NULL ptr in amdgpu_irq_disable_all. Fix: Call amdgpu_device_fini only once from amdgpu_driver_unload_kms. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions