]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Init DCN35 clocks from pre-os HW values
authorLeo Li <sunpeng.li@amd.com>
Fri, 12 Sep 2025 15:01:50 +0000 (11:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Sep 2025 14:33:37 +0000 (10:33 -0400)
commitd43cc4ea1f9d720ab4bf06806f79260bfe981508
tree8c289b794cec2324d8d320b89538b059bc91bb7d
parent550038edef7f933591e10e32f94a5e9557b023b8
drm/amd/display: Init DCN35 clocks from pre-os HW values

[Why]
We did not initialize dc clocks with boot-time hw values during init.
This lead to incorrect clock values in dc, causing `dcn35_update_clocks`
to make incorrect updates.

[How]
Correctly initialize DC with pre-os clk values from HW.
s/dump/save/ as that accurately reflects the purpose of the functions.

Fixes: 8774029f76b9 ("drm/amd/display: Add DCN35 CLK_MGR")
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c