]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Introduce new update_clocks logic
authorJun Lei <Jun.Lei@amd.com>
Sun, 20 Feb 2022 19:33:56 +0000 (14:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:45:01 +0000 (16:45 -0400)
commitf52226005834eecd1cfd98fc00bbedbf80d45098
treefc84c85ade68202f44154caf175a06d0c5619822
parentc59ca286fc26fc7c3137b571e67595ff2de9837f
drm/amd/display: Introduce new update_clocks logic

[why]
DCN has sidebands to control some clocks, it is useful for clk_mgr to
always update the clocks it explicitly controls rather than skip them
because it enables more configurations to work without SMU

[how]
only skip handling clocks where SMU manages the frequency for clocks
with DENTIST sideband (DISP/DPP), only skip the voltage request when SMU
not available, but otherwise proceed normally

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c