drm/amd/display: Fix DC mode screen flickering on DCN321
authorLeo Ma <hanghong.ma@amd.com>
Thu, 11 Apr 2024 21:17:04 +0000 (17:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 May 2024 01:48:25 +0000 (21:48 -0400)
commitce649bd2d834db83ecc2756a362c9a1ec61658a5
tree378280753014348c3e44c19c7f687e3f39a73f03
parent0e62103bdcbc88281e16add299a946fb3bd02fbe
drm/amd/display: Fix DC mode screen flickering on DCN321

[Why && How]
Screen flickering saw on 4K@60 eDP with high refresh rate external
monitor when booting up in DC mode. DC Mode Capping is disabled
which caused wrong UCLK being used.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Leo Ma <hanghong.ma@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c