From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v3 08/21] drm/sun4i: frontend: Add support for semi-planar YUV input formats Date: Tue, 4 Dec 2018 16:30:19 +0100 Message-ID: <20181204153019.cosrc2orkkenviyx@flea> References: <20181204142218.16284-1-paul.kocialkowski@bootlin.com> <20181204142218.16284-9-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="m7i3f3pybjrzod7n" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20181204142218.16284-9-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 --m7i3f3pybjrzod7n Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Tue, Dec 04, 2018 at 03:22:05PM +0100, Paul Kocialkowski wrote: > Semi-planar YUV formats use two distinct planes, one for luminance and > one for chrominance. To add support for them, we need to configure the > second line stride and buffer address registers to setup the second YUV > plane. > > New definitions are introduced to configure the input format register > for the YUV420 and YUV422 semi-planar formats. > > Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --m7i3f3pybjrzod7n--