]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: FCLK P-state support updates
authorChaitanya Dhere <chaitanya.dhere@amd.com>
Mon, 11 Apr 2022 17:37:21 +0000 (13:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:45:01 +0000 (16:45 -0400)
commit071cdf9166480b57e7b4b87558d795e6ee7cd4c1
treee38794d0c659efb92060374d9179d7e2b184b998
parent46fde39192cabb31b9e66a75cbca2dd5779e1d0b
drm/amd/display: FCLK P-state support updates

[Why]
Previously we used to send FCLK P-state enable messages upon each call
to update_clocks based on dml output. This resulted in increased message
transactions between DC and PMFW.

[How]
Update the code to check safe_to_lower status and send the message based
on dml input only on boot. This reduces message transactions. Also
remove other unwanted code based on current code status.

Signed-off-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr_smu_msg.h