summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
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-27 18:00:01 -0400
commit2d3907c152611a0d65efe54b93972320dcce1565 (patch)
treec4b10f6cf37817c8d52e5a06f15d81202216d41a /drivers/gpu/drm/amd/amdgpu
parenta28acf7091babf4248b042326946cee7736f796a (diff)
downloadlinux-2d3907c152611a0d65efe54b93972320dcce1565.tar.bz2
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 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions