]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit8b7530b15c3332220a081035ab467c9359aff409
tree8fb0229e7c3502ed307799d76fd5df37325f63d9
parent8c70e1cda04b966b50ddfefafbd0ea376ed8edd5
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