]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Support HDMI YUV output
authorMaxime Ripard <maxime@cerno.tech>
Tue, 22 Feb 2022 16:40:42 +0000 (17:40 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 24 Mar 2022 12:44:00 +0000 (13:44 +0100)
commitb9700d81208f5d540907b1a7897125b4e3170fff
tree4c5475c00488620656a94d8cf237a7f6f8ea63e7
parent76f0ff664528aca5c9f97ff75d8bcac2f8354432
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>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220222164042.403112-8-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