linux/drivers/gpu/drm/amd/display/dc/inc
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
..
hw drm/amd/display: fill in clock values when DPM is not enabled 2022-09-27 18:00:01 -04:00
bw_fixed.h
clock_source.h drm/amd/display: Use correct DTO_SRC_SEL for 128b/132b encoding 2022-07-25 17:16:45 -04:00
compressor.h
core_status.h drm/amd/display: make enable link independent from verified link caps 2022-07-13 11:25:16 -04:00
core_types.h drm/amd/display: Add dc_ctx to link_enc_create() parameters 2022-07-25 17:17:28 -04:00
custom_float.h
dc_link_ddc.h drm/amd/display: USB4 DPIA enumeration and AUX Tunneling 2021-10-06 15:50:56 -04:00
dc_link_dp.h Merge tag 'amd-drm-next-5.20-2022-07-14' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2022-07-15 15:07:26 +10:00
dc_link_dpia.h drm/amd/display: Query DPIA HPD status. 2022-05-26 14:56:30 -04:00
dce_calcs.h
dcn_calc_math.h
dcn_calcs.h drm/amd/display: detach fpu operations from dcn10_validate_bandwidth in calcs 2022-03-31 23:05:54 -04:00
dml_wrapper.h drm/amd/display: Code change for DML isolation 2021-11-22 14:45:01 -05:00
hw_sequencer.h drm/amd/display: Add SubVP required code 2022-07-05 16:10:38 -04:00
hw_sequencer_private.h drm/amd/display: Apply ODM 2:1 policy for single display configuration 2022-07-05 16:11:08 -04:00
link_dpcd.h drm/amd/display: temporarly move non link_hwss code to dc_link_dp 2022-02-02 18:26:32 -05:00
link_enc_cfg.h drm/amd/display: Maintain consistent mode of operation during encoder assignment 2022-07-05 16:12:45 -04:00
link_hwss.h drm/amd/display: extract update stream allocation to link_hwss 2022-06-21 18:17:24 -04:00
reg_helper.h drm/amd/display: Support synchronized indirect reg access 2022-01-25 18:00:35 -05:00
resource.h drm/amd/display: Display distortion after hotplug 5K tiled display 2022-09-21 17:27:09 -04:00
vm_helper.h