]> 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)
commit75f5b7b49fbb65d6846798bb2f185136ad9b547e
treeb2610b35422159312fa2f18933ea81aeb55972be
parent77877d52d6e1d2a86e59d129d13422badfe4c3fd
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