diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-01-18 15:51:20 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-01-18 19:17:16 +0100 |
commit | 8c8152bf4db6ce1b603ebf2b001baa2e6094287c (patch) | |
tree | af96292753d2c3d6010bf673f1b999aafed4b461 /include/uapi/drm | |
parent | 9afe52d54bb0d7ec1fdaf2abb36b39a9938bc5ef (diff) | |
download | linux-8c8152bf4db6ce1b603ebf2b001baa2e6094287c.tar.bz2 |
drm/sun4i: frontend: Add support for planar YUV input formats
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@bootlin.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190118145133.21281-11-paul.kocialkowski@bootlin.com
Diffstat (limited to 'include/uapi/drm')
0 files changed, 0 insertions, 0 deletions