]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Update clock table to include highest clock setting
authorSwapnil Patel <Swapnil.Patel@amd.com>
Wed, 1 Mar 2023 19:33:33 +0000 (14:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:49:19 +0000 (12:49 +0200)
commitb66804fc7e21587431360af1dbcc1d9145237b7a
tree44d68e569141ee1c7d24b4932a192c21ddd36c4e
parent43c33c48725244fc825cea1550ad8822fe67f1e2
drm/amd/display: Update clock table to include highest clock setting

[ Upstream commit 2d99a7ec25cf456cd3680eb314d6454138e5aa64 ]

[Why]
Currently, the clk manager matches SocVoltage with voltage from
fused settings (dfPstate clock table). And then corresponding clocks
are selected.

However in certain situations, this leads to clk manager not
including at least one entry with highest supported clock setting.

[How]
Update the clk manager to include at least one entry with highest
supported clock setting.

Reviewed-by: Pavle Kotarac <pavle.kotarac@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Swapnil Patel <Swapnil.Patel@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c