]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Adjust dprefclk by down spread percentage.
authorZhongwei <zhongwei.zhang@amd.com>
Wed, 27 Mar 2024 05:49:40 +0000 (13:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 03:49:26 +0000 (23:49 -0400)
commite047dd448d2bc12b8c30d7e3e6e98cea1fc28a17
treea0bfff7c1a7d31c64980ce28a632fb32ae5e6cfd
parentc3e2a5f2da904a18661335e8be2b961738574998
drm/amd/display: Adjust dprefclk by down spread percentage.

[Why]
OLED panels show no display for large vtotal timings.

[How]
Check if ss is enabled and read from lut for spread spectrum percentage.
Adjust dprefclk as required. DP_DTO adjustment is for edp only.

Cc: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Zhongwei <zhongwei.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c