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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Mar 2023 20:57:13 +0000 (15:57 -0500)
commit2d99a7ec25cf456cd3680eb314d6454138e5aa64
treee6b2b5db83adff8734b91e266ecf27efcec9d2dc
parentc53899138c99236482a3c25d674f44723336afa3
drm/amd/display: Update clock table to include highest clock setting

[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>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c