From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v2 01/43] drm/sun4i: Cleanup video/YUV source before enabling a layer Date: Tue, 27 Nov 2018 09:31:11 +0100 Message-ID: <20181127083111.labwbcven737dnwl@flea> References: <20181123092515.2511-1-paul.kocialkowski@bootlin.com> <20181123092515.2511-2-paul.kocialkowski@bootlin.com> Reply-To: maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hl6akrqq6jykfoxv" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20181123092515.2511-2-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Paul Kocialkowski Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Maarten Lankhorst , Sean Paul , David Airlie , Chen-Yu Tsai , Thomas Petazzoni , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Daniel Vetter List-Id: dri-devel@lists.freedesktop.org --hl6akrqq6jykfoxv Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Fri, Nov 23, 2018 at 10:24:33AM +0100, Paul Kocialkowski wrote: > This adds a dedicated function for cleaning the video and YUV source > channel layer enable bits. This function is called first on layer atomic > update to make sure that there are no leftover bits from previous > plane configuration that were not cleaned until now. > > It fixes issues when alternating between video and YUV planes, where > both bits would be set eventually, leading to broken plane display. > > Signed-off-by: Paul Kocialkowski Applied, thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --hl6akrqq6jykfoxv--