]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: dw_hdmi: Enable GCP only for Deep Color
authorSandor Yu <Sandor.yu@nxp.com>
Fri, 15 Apr 2022 02:42:48 +0000 (10:42 +0800)
committerRobert Foss <robert.foss@linaro.org>
Tue, 19 Apr 2022 16:19:02 +0000 (18:19 +0200)
commit2f705fe411472f7a04007308dc3c46ccfb1e4d03
tree37b621d04522f49a8b228e351c34a4fb4c49c79f
parent9ed526f9860c2e0063949d187ec5308f273f779e
drm: bridge: dw_hdmi: Enable GCP only for Deep Color

HDMI1.4b specification section 6.5.3:
Source shall only send GCPs with non-zero CD to sinks
that indicate support for Deep Color.

DW HDMI GCP default enabled, but only transmit CD
and do not handle AVMUTE, PP norDefault_Phase (yet).
Disable Auto GCP when 24-bit color for sinks that not support Deep Color.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/78fa41e4fb3d3d53354034bc221fcf870dbac617.1649989179.git.Sandor.yu@nxp.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
drivers/gpu/drm/bridge/synopsys/dw-hdmi.h