]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: dcn42 don't round up disclk and dppclk
authorCharlene Liu <Charlene.Liu@amd.com>
Mon, 2 Mar 2026 20:45:41 +0000 (15:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Mar 2026 18:11:03 +0000 (14:11 -0400)
commit31ea7b0ef35e6d986cbff2a59e8f3d2cd2ae3810
tree2ce347cb73305f4218ea2031825528a94ca67f2e
parent71488869d933b49d4a7d4b2b20448b6f285327bb
drm/amd/display: dcn42 don't round up disclk and dppclk

[why]
dml2 based on num_enabled clock != 2 to do clock ramming to dpm.
apu has 8 levels dispclk/dppclk/dcfclk/fclk, but only 4 levels of memclk.
to avoid mapping dispclk/dppclk to DPM clock,
based on arch review, force dispclk/dppclk num_level as 2.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Signed-off-by: Chuanyu Tseng <Chuanyu.Tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn42/dcn42_soc_and_ip_translator.c