drm/vc4: hdmi: Support HDMI YUV output
authorMaxime Ripard <maxime@cerno.tech>
Fri, 4 Dec 2020 16:12:06 +0000 (17:12 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:36 +0000 (16:04 +0000)
commitce2e7f472f30e91d89a70ac53915fb0859af7ced
tree7aff7fdab4e78198d18b6cdfe6fb2ce931abf1db
parentd054eb163dd53dd8bab6da782933811875be1c87
drm/vc4: hdmi: Support HDMI YUV output

In addition to the RGB444 output, the BCM2711 HDMI controller supports
the YUV444 and YUV422 output formats.

Let's add support for them in the driver, but still use RGB as the
preferred format.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h
drivers/gpu/drm/vc4/vc4_hdmi_regs.h
drivers/gpu/drm/vc4/vc4_regs.h