]> 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)
commit46fde39192cabb31b9e66a75cbca2dd5779e1d0b
treefc84c85ade68202f44154caf175a06d0c5619822
parentefccce3869345a10cc6473b2ea87d496e6dd2eae
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