drm/amdgpu: Fix kernel NULL pointer dereference when amdgpu fini
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 20 Mar 2018 08:28:56 +0000 (16:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 04:44:21 +0000 (23:44 -0500)
commit81ce8bea035befed2ae7670bf9f9404fa3f46f71
tree7fafc75985f18b09b48e6037e252ca90b296da24
parente5b03032e34da84ee765ffbe4e36d344fdd04108
drm/amdgpu: Fix kernel NULL pointer dereference when amdgpu fini

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c