]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dp: always add fail-safe mode into connector mode list
authorKuogee Hsieh <quic_khsieh@quicinc.com>
Mon, 24 Jan 2022 23:17:54 +0000 (15:17 -0800)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 18 Feb 2022 15:32:58 +0000 (18:32 +0300)
commit2fe1efe4d9a3abee4012c6cdf95cd969ce035989
treecbc9a55a00fc43ec30a7185f4a7ff6a65dc71878
parent69a3f988b8dcc3488e07a4dbdf8b0367a8102db0
drm/msm/dp: always add fail-safe mode into connector mode list

Some of DP link compliant test expects to return fail-safe mode
if prefer detailed timing mode can not be supported by mainlink's
lane and rate after link training. Therefore add fail-safe mode
into connector mode list as backup mode. This patch fixes test
case 4.2.2.1.

Changes in v2:
-- add Fixes text string

Fixes: 4c34f33bbdae ( "drm/msm/dp: reduce link rate if failed at link training 1")
Signed-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1643066274-25814-1-git-send-email-quic_khsieh@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/dp/dp_panel.c