drm/vc4: plane: Add support for YUV color encodings and ranges

The BT601/BT709 color encoding and limited vs full
range properties were not being exposed, defaulting
always to BT601 limited range.

Expose the parameters and set the registers appropriately.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20211215091739.135042-4-maxime@cerno.tech
This commit is contained in:
Dave Stevenson 2021-12-15 10:17:39 +01:00 • committed by Maxime Ripard
commit d619f38c01
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
2 changed files with 82 additions and 8 deletions