[PATCH v3 09/21] drm/sun4i: frontend: Add support for planar YUV input formats

Maxime Ripard maxime.ripard at bootlin.com
Tue Dec 4 15:30:54 UTC 2018


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 <paul.kocialkowski at bootlin.com>

Acked-by: Maxime Ripard <maxime.ripard at bootlin.com>

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181204/324f5bb9/attachment.sig>


More information about the dri-devel mailing list