]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Fix incorrect DPCD configs while Replay/PSR switch
authorLeon Huang <Leon.Huang1@amd.com>
Tue, 11 Feb 2025 07:45:43 +0000 (15:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:42:00 +0000 (14:42 +0200)
commit2e37d331c00c0711664e49a213a8c36fd0a4b25c
tree78e76fc65972d88fdb74ccc67a78512876b35093
parent1da3dc73724bb0927b7f4ddfb7071b62ab0564e4
drm/amd/display: Fix incorrect DPCD configs while Replay/PSR switch

[ Upstream commit 0d9cabc8f591ea1cd97c071b853b75b155c13259 ]

[Why]
When switching between PSR/Replay,
the DPCD config of previous mode is not cleared,
resulting in unexpected behavior in TCON.

[How]
Initialize the DPCD in setup function

Reviewed-by: Robin Chen <robin.chen@amd.com>
Signed-off-by: Leon Huang <Leon.Huang1@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c