summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSamson Tam <samson.tam@amd.com>2022-09-09 17:16:32 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-09-29 09:41:45 -0400
commit3141d6cb64e7a76af0b87e1f28c54d67963db871 (patch)
treeaea5c2e810e807a1d20ae11831685a6a7153db6a /tools/perf/scripts/python/export-to-postgresql.py
parente18d9839b174d6bfa0d620293098b3c6a441cc4b (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions