[PATCH RFC 1/4] DRM: Armada: implement lastclose() for fbhelper

2013-12-10 Thread Thierry Reding
On Mon, Dec 09, 2013 at 12:08:14AM +, Russell King wrote: > 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. > > Signed-off-by: Russell King > --- > drivers/gpu/drm/armada/armada_drm.h |1 + > d

[PATCH RFC 1/4] DRM: Armada: implement lastclose() for fbhelper

2013-12-09 Thread Russell King
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. Signed-off-by: Russell King --- drivers/gpu/drm/armada/armada_drm.h |1 + drivers/gpu/drm/armada/armada_drv.c |7 ++- drivers/gpu/drm/armada/