]> 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)
commitef507afe24bd30e641774abb1410cbabcb276432
tree8fb0229e7c3502ed307799d76fd5df37325f63d9
parent78abdb7e7f107d7a8abd91fdf5a133b615c97b90
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