]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: ti-sn65dsi86: Group DP link training bits in a function
authorDouglas Anderson <dianders@chromium.org>
Wed, 18 Dec 2019 22:35:28 +0000 (14:35 -0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 13 Feb 2020 09:22:05 +0000 (10:22 +0100)
commit0bee51e64956e25c6bd6d56ed28317236e3d5977
tree7cde2f900d2333d400a50dbf2366643d574e50ff
parent85ed18d21c5ce5f7636bdcd8870f621dab788a16
drm/bridge: ti-sn65dsi86: Group DP link training bits in a function

We'll re-organize the ti_sn_bridge_enable() function a bit to group
together all the parts relating to link training and split them into a
sub-function.  This is not intended to have any functional change and
is in preparation for trying link training several times at different
rates.  One small side effect here is that if link training fails
we'll now leave the DP PLL disabled, but that seems like a sane thing
to do.

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.7.I1fc75ad11db9048ef08cfe1ab7322753d9a219c7@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c