From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v3 09/21] drm/sun4i: frontend: Add support for planar YUV input formats Date: Tue, 4 Dec 2018 16:30:54 +0100 Message-ID: <20181204153054.sdckfazc2cfu6tmo@flea> References: <20181204142218.16284-1-paul.kocialkowski@bootlin.com> <20181204142218.16284-10-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="ucojaxrqyohjhg53" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20181204142218.16284-10-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Paul Kocialkowski Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, David Airlie , Chen-Yu Tsai , Maarten Lankhorst , Sean Paul , Thomas Petazzoni , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Daniel Vetter List-Id: dri-devel@lists.freedesktop.org --ucojaxrqyohjhg53 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Tue, Dec 04, 2018 at 03:22:06PM +0100, Paul Kocialkowski wrote: > Planar YUV formats come with 3 distinct planes, which requires > configuring the frontend line stride and address registers for the > third plane. > > Our hardware only supports the YUV planes order and in order to support > formats with a YVU plane order, a helper is introduced to indicate > whether to invert the address of the two chroma planes. > > Missing definitions for YUV411 and YUV444 input format configuration are > also introduced as support is added for these formats. For the input > sequence part, no configuration is required for planar YUV formats so > zero is returned in that case. > > Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ucojaxrqyohjhg53--