drm/msm/dp: Enable ASSR for supported DP sinks
authorSankeerth Billakanti <quic_sbillaka@quicinc.com>
Tue, 2 Nov 2021 07:48:45 +0000 (13:18 +0530)
committerRob Clark <robdclark@chromium.org>
Sun, 28 Nov 2021 17:32:03 +0000 (09:32 -0800)
commit016aa55082c2dd16e438e18e23f8bd8a67f30d84
tree64f8d6c503388a0157306856e720a5d6d660bc84
parent34f3b16575d1c371399ba8e2724d2bd67f75a0f5
drm/msm/dp: Enable ASSR for supported DP sinks

The eDP sink on sc7280 supports ASSR and dp driver will
enable ASSR in the source hardware. The driver needs to
enable the ASSR field in the DPCD configuration register
to avoid screen corruption. This change will enable ASSR
if supported in the sink device.

Signed-off-by: Sankeerth Billakanti <quic_sbillaka@quicinc.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1635839325-401-6-git-send-email-quic_sbillaka@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dp/dp_ctrl.c