linux-yocto/drivers/gpu/drm/amd/display/dc/clk_mgr
Samson Tam 3141d6cb64 drm/amd/display: fill in clock values when DPM is not enabled
[Why]
For individual feature testing, PMFW may not report all clock
values back. Driver will default them to 0 but this will
cause the BB table to be skipped and default to one state
with max clocks.

[How]
Add helper function to scan through initial clock values and
populate them with default clock limits so that BB table
can be built.
Add dpm_enabled flag to check when DPM is not enabled and
to trigger helper function.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-09-29 09:41:45 -04:00
..
dce60
dce100 drm/amd/display: remove dtbclk_ss compensation for dcn316 2022-04-12 14:18:18 -04:00
dce110
dce112
dce120
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: Display distortion after hotplug 5K tiled display 2022-09-19 15:14:46 -04:00
dcn32 drm/amd/display: fill in clock values when DPM is not enabled 2022-09-29 09:41:45 -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: Wrap OTG disable workaround with FIFO control 2022-09-29 09:41:44 -04:00
dcn315 drm/amd/display: increase dcn315 pstate change latency 2022-09-19 15:15:24 -04:00
dcn316 drm/amd/display: Display distortion after hotplug 5K tiled display 2022-09-19 15:14:46 -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