Re: [PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-16 Thread Maxime Ripard
On Wed, Jul 12, 2017 at 10:40:16AM +0800, Chen-Yu Tsai wrote: > On Wed, Jul 12, 2017 at 3:21 AM, Maxime Ripard > wrote: > > On Mon, Jul 10, 2017 at 04:55:04PM +1000, Jonathan Liu wrote: > >> The drm_driver lastclose callback is called when the last userspace > >> DRM client has closed. Call drm_fb

Re: [PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-11 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 3:21 AM, Maxime Ripard wrote: > On Mon, Jul 10, 2017 at 04:55:04PM +1000, Jonathan Liu wrote: >> The drm_driver lastclose callback is called when the last userspace >> DRM client has closed. Call drm_fbdev_cma_restore_mode to restore >> the fbdev console otherwise the fbdev

Re: [PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-11 Thread Maxime Ripard
On Mon, Jul 10, 2017 at 04:55:04PM +1000, Jonathan Liu wrote: > The drm_driver lastclose callback is called when the last userspace > DRM client has closed. Call drm_fbdev_cma_restore_mode to restore > the fbdev console otherwise the fbdev console will stop working. > > Fixes: 9026e0d122ac ("drm:

Re: [linux-sunxi] [PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-10 Thread Olliver Schinagl
Hey Jonathan, since I reported this to you on IRC, it's only fair that you can have my: Tested-by: Olliver Schinagl For those interessted, I've tested it on an Olimex OLinuXino Lime2 with their 4.3 LCD. Olliver On 10-07-17 08:55, Jonathan Liu wrote: The drm_driver lastclose callback is ca

[PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-09 Thread Jonathan Liu
The drm_driver lastclose callback is called when the last userspace DRM client has closed. Call drm_fbdev_cma_restore_mode to restore the fbdev console otherwise the fbdev console will stop working. Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support") Cc: sta...@vger.kernel.org Si