From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v4 07/22] drm/sun4i: frontend: Configure and enable YUV to RGB CSC when needed Date: Wed, 5 Dec 2018 16:38:37 +0100 Message-ID: <20181205153837.bysyrgxibuaiiwi2@flea> References: <20181205083703.21488-1-paul.kocialkowski@bootlin.com> <20181205083703.21488-8-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="tt5jevjtugv3ypnd" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20181205083703.21488-8-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 --tt5jevjtugv3ypnd Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Wed, Dec 05, 2018 at 09:36:48AM +0100, Paul Kocialkowski wrote: > In prevision of adding support for YUV formats, set the YUV to RGB > colorspace conversion coefficients if required and don't bypass the > CSC engine when converting. > > The BT601 coefficients from the A33 BSP are copied over from the backend > code. Because of module inter-dependency, we can't have the frontend use > these coefficients from the backend directly. > > Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --tt5jevjtugv3ypnd--