DRM: Armada: implement lastclose() for fbhelper
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 27 Oct 2013 15:26:33 +0000 (15:26 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Dec 2013 20:24:02 +0000 (20:24 +0000)
commit2f5ae4901acc6fdee939718658fa9f59c4f2217b
tree5420f95a46b1a6829fb0a52707366e571cacfb34
parent796c8e1c3439aa6f2aef75d767defa0243ed6ead
DRM: Armada: implement lastclose() for fbhelper

Call drm_fb_helper_restore_fbdev_mode() upon last close so that in the
event of the X server crashing, we have some kind of mode restored.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/armada/armada_drm.h
drivers/gpu/drm/armada/armada_drv.c
drivers/gpu/drm/armada/armada_fbdev.c