summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-09-11 17:04:41 +0900
committerAlex Deucher <alexander.deucher@amd.com>2017-09-13 12:10:11 -0400
commita072c5f896beba806b4b867d478e1b90f94ba29b (patch)
tree1e704724bac4b107ab89527de02d7bd2ac47239b /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
parentc9232d9ee85fade8a2020efe9f3bf64cdbbc6347 (diff)
amdgpu: Only destroy fbdev framebuffer if it was initialized
Fixes crash when trying to unload the amdgpu module before the fbdev framebuffer was initialized, which can happen since the DRM fbdev helper code supports deferred setup. Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
0 files changed, 0 insertions, 0 deletions