diff options
author | Maxime Ripard <[email protected]> | 2022-10-27 14:52:47 +0200 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2022-10-28 13:03:20 +0200 |
commit | fc04142894d1d970e21c6ab3ab663aa51c5a8b7b (patch) | |
tree | 444ca86f90c4ab813f11c54b1ef01f1b9de0450b /tools/perf/scripts/python/flamegraph.py | |
parent | f09e172da85854d71284638d8ca25f0b3a980cb6 (diff) |
drm/vc4: Make sure we don't end up with a core clock too high
Following the clock rate range improvements to the clock framework,
trying to set a disjoint range on a clock will now result in an error.
Thus, we can't set a minimum rate higher than the maximum reported by
the firmware, or clk_set_min_rate() will fail.
Thus we need to clamp the rate we are about to ask for to the maximum
rate possible on that clock.
Reviewed-by: Dave Stevenson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions