aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAidan Wood <[email protected]>2019-03-22 14:21:35 -0400
committerAlex Deucher <[email protected]>2019-06-22 09:34:08 -0500
commitc2ad17c3b2657b476044582e875c88b750011bba (patch)
treeec41ccd52f1cb4d20e746fa2ba7630ba444b9429 /tools/perf/scripts/python/event_analyzing_sample.py
parentc2bcd914a2a7917442daf20a7b33d690f5903bea (diff)
drm/amd/display: Properly set DCF clock
[Why] If num_states == 0 we did update_bound_box which doesn't updated any max clocks if num_states == 0, therefore we need to do cap_soc_clocks instead, also SMU cannot set DCF clock to a higher than or equal to freq than SOC clock [How] Add a num_states != 0 check for update_bounding_box to be run, and after we run get_maximum_sustainable_clocks we now check if the reported max value of DCF is higher than SOC and if necessary set it to 1000 (becomes 1 after division by 1000) lower than SOC Signed-off-by: Aidan Wood <[email protected]> Reviewed-by: Aric Cyr <[email protected]> Acked-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions