1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/clk_mgr
Michael Strauss 1e5588d140 drm/amd/display: Fallback to clocks which meet requested voltage on DCN31
[WHY]
On certain configs, SMU clock table voltages don't match which cause parser
to behave incorrectly by leaving dcfclk and socclk table entries unpopulated.

[HOW]
Currently the function that finds the corresponding clock for a given voltage
only checks for exact voltage level matches. In the case that no match gets
found, parser now falls back to searching for the max clock which meets the
requested voltage (i.e. its corresponding voltage is below requested).

Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-10-28 14:26:50 -04:00
..
dce60 drm/amd/display: dc/clk_mgr: make function static 2020-09-17 21:21:40 -04:00
dce100 drm/amd/display: remove redundant assignment to variable dp_ref_clk_khz 2020-04-22 18:11:45 -04:00
dce110 drm/amd/display: correct asic type check V2 2020-10-27 12:01:16 -04:00
dce112 drm/amd/display: correct asic type check V2 2020-10-27 12:01:16 -04:00
dce120 drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct 2019-07-18 14:18:09 -05:00
dcn10 drm/amd/display: Round KHz up when calculating clock requests 2021-07-08 15:16:44 -04:00
dcn20 drm/amd/display: Replace referral of dal with dc 2021-09-28 09:30:13 -04:00
dcn21 drm/amd/display: Replace referral of dal with dc 2021-09-28 09:30:13 -04:00
dcn30 drm/amd/display: Populate socclk entries for dcn3.02/3.03 2021-07-23 10:07:58 -04:00
dcn31 drm/amd/display: Fallback to clocks which meet requested voltage on DCN31 2021-10-28 14:26:50 -04:00
dcn201 drm/amd/display: remove duplicate include in dcn201_clk_mgr.c 2021-10-08 13:22:47 -04:00
dcn301 drm/amd/display: Use adjusted DCN301 watermarks 2021-09-23 15:17:30 -04:00
clk_mgr.c drm/amd/display: clean up dcn31 revision check 2021-10-28 14:26:15 -04:00
Makefile drm/amdgpu/display: fold DRM_AMD_DC_DCN201 into DRM_AMD_DC_DCN 2021-10-04 15:23:02 -04:00