diff options
author | Samson Tam <samson.tam@amd.com> | 2022-09-10 00:16:32 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-28 01:00:01 +0300 |
commit | 2d3907c152611a0d65efe54b93972320dcce1565 (patch) | |
tree | c4b10f6cf37817c8d52e5a06f15d81202216d41a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a28acf7091babf4248b042326946cee7736f796a (diff) | |
download | linux-2d3907c152611a0d65efe54b93972320dcce1565.tar.xz |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions