]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix ASSR regression on embedded panels
authorStylon Wang <stylon.wang@amd.com>
Wed, 21 Jul 2021 04:25:24 +0000 (12:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jul 2021 18:43:13 +0000 (14:43 -0400)
commit6be50f5d83adc9541de3d5be26e968182b5ac150
treeb2610b35422159312fa2f18933ea81aeb55972be
parent27f5355f5d9706dfc1c2542253689f421008c969
drm/amd/display: Fix ASSR regression on embedded panels

[Why]
Regression found in some embedded panels traces back to the earliest
upstreamed ASSR patch. The changed code flow are causing problems
with some panels.

[How]
- Change ASSR enabling code while preserving original code flow
  as much as possible
- Simplify the code on guarding with internal display flag

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=213779
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1620
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@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