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 13:30:05 +0000 (09:30 -0400)
commita74d0224d56a7b05f9fad3057c3cd8eee6e48525
tree16ce19a0a4128504930b1e5521a59b0812e9f0af
parent71cf9e72b3121abb660dc18d91b4cb2b38963913
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>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c