]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:57:41 +0000 (11:57 +0200)
commit2b647b9cb2208529c10fd3eabf6181f3ca585e77
treea9aa6eca52addf481bd78648c7a81ce700f1904c
parent83910a0f6218238c91a48262f0586aca75e9e6a0
drm/msm/dp: always add fail-safe mode into connector mode list

BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit d4aca422539c441a7f3fec749287b36de37d9b6b ]

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: 4b85d405cfe9 ( "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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 47e2060f236667cb87b04aed98262ef5bae75c7a)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/gpu/drm/msm/dp/dp_panel.c