From: Maxime Ripard Subject: Re: [PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console Date: Tue, 11 Jul 2017 21:21:31 +0200 Message-ID: <20170711192131.mdmkvgxgzo7bwywe@flea> References: <20170710065504.31497-1-net147@gmail.com> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="27wmo344uitxcjta" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20170710065504.31497-1-net147-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Jonathan Liu Cc: David Airlie , Chen-Yu Tsai , dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: dri-devel@lists.freedesktop.org --27wmo344uitxcjta Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline 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: Add Allwinner A10 Display Engine support") > Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Signed-off-by: Jonathan Liu > Reviewed-by: Chen-Yu Tsai Queued for 4.14, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --27wmo344uitxcjta--