]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: ti-sn65dsi86: Read num lanes from the DP sink
authorDouglas Anderson <dianders@chromium.org>
Wed, 18 Dec 2019 22:35:26 +0000 (14:35 -0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 13 Feb 2020 09:21:10 +0000 (10:21 +0100)
commitddfd5ef7c9ac36659f542eda686e2dc0f60d9f09
treefd6b3acdab705487898b5dc0bb44e34300e0ed6a
parent72d2c6cc62f1b4ab802dad48e7e72169f2db39c1
drm/bridge: ti-sn65dsi86: Read num lanes from the DP sink

At least one panel hooked up to the bridge (AUO B116XAK01) only
supports 1 lane of DP.  Let's read this information and stop
hardcoding 4 DP lanes.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191218143416.v3.5.Idbd0051d0de53f7e9d18a291ea33011c0854fcc6@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c