1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/clk_mgr
Nicholas Kazlauskas 19f7b83344 drm/amd/display: Update clock table policy for DCN314
[Why & How]
Depending on how the clock table is constructed from PMFW we can run
into issues where we don't think we have enough bandwidth available
due to FCLK too low - eg. when the FCLK table contains invalid entries
or a single entry.

We should always pick up the maximum clocks for each state as a final
state in this case to prevent validation from failing if the table is
malformed.

We should also contain sensible defaults in the case where values
are invalid.

Redfine the clock table structures by adding a 314 prefix to make
debugging these issues easier by avoiding symbol name clashes.

Overall this policy more closely aligns to how we did things for 315,
but because of how the voltage rail is setup we should favor keeping
DCFCLK low rather than DISPCLK or DPPCLK - so use the max for those
in every entry.

Reviewed-by: Daniel Miess <daniel.miess@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-08-16 18:08:54 -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 dtbclk_ss compensation for dcn316 2022-04-12 14:18:18 -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: Turn global functions into static functions 2022-02-23 14:03:20 -05:00
dcn20 drm/amd/display: DAL ACR, dc part, fix missing dcn30 2022-06-14 21:38:40 -04:00
dcn21 drm/amd/display: remove header from source file 2022-08-10 14:58:37 -04:00
dcn30 drm/amd/display: move FPU code from dcn30 clk mgr to DML folder 2022-07-25 09:31:05 -04:00
dcn31 drm/amd/display: Clean up some inconsistent indenting 2022-07-28 16:05:15 -04:00
dcn32 drm/amd/display: Drop FPU flags from dcn32_clk_mgr 2022-07-25 09:31:03 -04:00
dcn201 drm/amd/display: Clean up some inconsistent indenting 2022-07-28 16:05:15 -04:00
dcn301 drm/amd/display: move FPU code from dcn301 clk mgr to DML folder 2022-07-25 09:31:05 -04:00
dcn314 drm/amd/display: Update clock table policy for DCN314 2022-08-16 18:08:54 -04:00
dcn315 drm/amd/display: Clean up some inconsistent indenting 2022-07-28 16:05:15 -04:00
dcn316 drm/amd/display: Clean up some inconsistent indenting 2022-07-28 16:05:15 -04:00
clk_mgr.c drm/amd/display: change family id name for DCN314 2022-08-10 15:10:12 -04:00
Makefile drm/amd/display: move FPU code from dcn301 clk mgr to DML folder 2022-07-25 09:31:05 -04:00