]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix ASSR regression on embedded panels
authorStylon Wang <stylon.wang@amd.com>
Tue, 20 Jul 2021 02:58:19 +0000 (10:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:09:40 +0000 (10:09 -0400)
commit8824771917a5bc11ff8b1613d42578c44595ce37
treec283ce8e0f5b72afb5863e25ca5522bed7b3d9d5
parent4f96882bdb9d2ae881c0cf48b4cc5c34a8a77765
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>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c