]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: restore the fbdev mode in lastclose
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Oct 2015 20:59:34 +0000 (16:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2015 13:44:25 +0000 (09:44 -0400)
commit0f04a8e4e6cc456e17345a33029d51fc7c2d32a6
tree8fb0229e7c3502ed307799d76fd5df37325f63d9
parent0939f1851598371caaf16b5de51ac26616f2fcd7
drm/amdgpu: restore the fbdev mode in lastclose

restore the fbdev state if a drm app like X is killed.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h