linux/drivers/gpu/drm/amd/display/dc/dml
Samson Tam 2d3907c152 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-27 18:00:01 -04:00
..
calcs drm/amd/display: remove DC_FP_* wrapper from dml folder 2022-03-31 23:05:54 -04:00
dcn10 drm/amd/display: move FPU code from dcn10 to dml/dcn10 folder 2022-03-15 14:25:16 -04:00
dcn20 drm/amd/display: include missing headers 2022-08-10 14:59:49 -04:00
dcn21 drm/amdgpu/display: Remove t_srx_delay_us. 2022-01-27 15:47:34 -05:00
dcn30 drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage 2022-09-13 14:27:00 -04:00
dcn31 drm/amd/display: fix dcn315 memory channel count and width read 2022-09-21 17:18:39 -04:00
dcn32 drm/amd/display: fill in clock values when DPM is not enabled 2022-09-27 18:00:01 -04:00
dcn301 drm/amd/display: include missing headers 2022-08-10 14:59:49 -04:00
dcn302 drm/amd/display: move FPU associated DCN302 code to DML folder (#2266) 2022-01-18 17:42:26 -05:00
dcn303 drm/amd/display: Clean up some inconsistent indenting 2022-07-28 16:05:16 -04:00
dcn314 drm/amd/display: Reduce number of arguments of dml314's CalculateFlipSchedule() 2022-09-21 17:36:57 -04:00
dcn321 drm/amd/display: Add a variable to update FCLK latency 2022-08-10 15:11:44 -04:00
dsc drm/display: Move DSC header and helpers into display-helper module 2022-04-25 11:19:36 +02:00
Makefile drm/amd/display: Enable dlg and vba compilation for dcn314 2022-09-13 14:26:59 -04:00
dc_features.h drm/amd/display: Extend soc BB capabilitiy 2022-06-07 16:09:57 -04:00
display_mode_enums.h drm/amd/display: DML changes for DCN32/321 2022-06-03 16:43:37 -04:00
display_mode_lib.c drm/amd/display: Hook up DCN314 specific dml implementation 2022-09-13 14:27:00 -04:00
display_mode_lib.h drm/amd/display: Hook up DCN314 specific dml implementation 2022-09-13 14:27:00 -04:00
display_mode_structs.h drm/amd/display: Update in dml 2022-07-20 16:04:27 -04:00
display_mode_vba.c drm/amd/display: Update DML logic for unbounded req handling 2022-07-25 09:31:03 -04:00
display_mode_vba.h drm/amd/display: Fix divide by zero in DML 2022-09-13 14:26:59 -04:00
display_rq_dlg_helpers.c drm/amdgpu/display: Remove t_srx_delay_us. 2022-01-27 15:47:34 -05:00
display_rq_dlg_helpers.h drm/amd/display: Pass all structs in display_rq_dlg_helpers by pointer 2021-09-23 15:17:29 -04:00
dml1_display_rq_dlg_calc.c drm/amdgpu/display: Remove t_srx_delay_us. 2022-01-27 15:47:34 -05:00
dml1_display_rq_dlg_calc.h drm/amd/display: Fix rest of pass-by-value structs in DML 2021-09-23 15:17:30 -04:00
dml_inline_defs.h drm/amd/display: simplify dml log2 function 2020-05-28 14:00:50 -04:00
dml_logger.h
dml_wrapper.c drm/amd/display: DML changes for DCN32/321 2022-06-03 16:43:37 -04:00
dml_wrapper_translation.c drm/amd/display: Code change for DML isolation 2021-11-22 14:45:01 -05:00