]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: dw-hdmi: disable SCDC configuration for invalid setups
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 15 Mar 2019 09:54:14 +0000 (10:54 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 25 Mar 2019 12:15:00 +0000 (13:15 +0100)
commite23f78588148609a07c206dfed03b4694787215a
tree447297d4cfb1de0e0480894d5f9a1167d35ef49b
parentca3d0d6352b092570af9a83acfc0f0a05551509e
drm/bridge: dw-hdmi: disable SCDC configuration for invalid setups

This patch is an attempt to limit HDMI 2.0 SCDC setup when :
- the SoC embeds an HDMI 1.4 only controller
- the EDID supports SCDC but not scrambling
- the EDID supports SCDC scrambling but not for low TMDS bit rates,
  while only supporting low TMDS bit rates

This to avoid communicating with the SCDC DDC slave uncessary, and
setting the DW-HDMI TMDS Scrambler setup when not supported by the
underlying hardware.

Reported-by: Rob Herring <robh@kernel.org>
Fixes: 79daf167a7a2 ("drm/bridge: dw-hdmi: Add SCDC and TMDS Scrambling support")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190315095414.28520-1-narmstrong@baylibre.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c