]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix Display Flicker on embedded panels
authorPraful Swarnakar <Praful.Swarnakar@amd.com>
Wed, 22 Sep 2021 17:31:29 +0000 (23:01 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Sep 2021 18:39:12 +0000 (14:39 -0400)
commitf708e1316518aec1e77a73079c9906e7d1953114
tree598111cfe06c0272cde9007a94e1e183583d93f4
parent6ea42a1587d06239e2276690b66ee09c53e345dd
drm/amd/display: Fix Display Flicker on embedded panels

[Why]
ASSR is dependent on Signed PSP Verstage to enable Content
Protection for eDP panels. Unsigned PSP verstage is used
during development phase causing ASSR to FAIL.
As a result, link training is performed with
DP_PANEL_MODE_DEFAULT instead of DP_PANEL_MODE_EDP for
eDP panels that causes display flicker on some panels.

[How]
- Do not change panel mode, if ASSR is disabled
- Just report and continue to perform eDP link training
with right settings further.

Signed-off-by: Praful Swarnakar <Praful.Swarnakar@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c