]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Fix DCN42 memory clock table using MemClk instead of UClk
authorAlexander Chechik <alexander.chechik@amd.com>
Mon, 9 Mar 2026 17:15:24 +0000 (13:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Mar 2026 18:14:46 +0000 (14:14 -0400)
commit6c006fac2c17797510691c1848320a1659ff58b4
tree19f07eb790a5107d29274a1dd32fd1713a4547b8
parentdeab056486f4e9945d403ea0ef812a593b7f438e
drm/amd/display: Fix DCN42 memory clock table using MemClk instead of UClk

[Why]
DCN42 was using UClk values instead of MemClk from MemPstateTable, causing
DML to see half the actual DRAM bandwidth on DDR5 systems and reject high
refresh rate modes.

[How]
Change dcn42_init_clocks() to use MemPstateTable[i].MemClk instead of
MemPstateTable[i].UClk for memclk_mhz initialization.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Alexander Chechik <alexander.chechik@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/clk_mgr/dcn42/dcn42_clk_mgr.c