drm/vc4: hdmi: Support HDMI YUV output
authorMaxime Ripard <maxime@cerno.tech>
Fri, 4 Dec 2020 16:12:06 +0000 (17:12 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 17 Dec 2021 13:36:14 +0000 (13:36 +0000)
commit800c49fd1f53adf66739d384402b7a90441b023b
tree7b29f516d2bbc015fb24232c19aec420537dca90
parent97d7fdd976940ce4a475376ebfae06a50934ba31
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