OSDN Git Service

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)
commite769a3504e273309c9fe4a417d427c8dbff4cf1c
tree4c5475c00488620656a94d8cf237a7f6f8ea63e7
parentdd39d024a8471e88951f8494f19e693c9e3185a9
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