aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorFrank Oltmanns <[email protected]>2023-08-07 12:43:35 +0000
committerChen-Yu Tsai <[email protected]>2023-08-09 15:33:58 +0000
commit3492e4f6db5f6814869a4639d70ea025385f4cb6 (patch)
tree79c3e0752c75f164de7b386b3ed25232b59441d4 /tools/perf/scripts/python/libxed.py
parentclk: sunxi-ng: nkm: Use correct parameter name for parent HW (diff)
downloadkernel-3492e4f6db5f6814869a4639d70ea025385f4cb6.tar.gz
kernel-3492e4f6db5f6814869a4639d70ea025385f4cb6.zip
clk: sunxi-ng: nkm: consider alternative parent rates when determining rate
In case the CLK_SET_RATE_PARENT flag is set, consider using a different parent rate when determining a new rate. To find the best match for the requested rate, perform the following steps for each NKM combination: - calculate the optimal parent rate, - find the best parent rate that the parent clock actually supports - use that parent rate to calculate the effective rate. In case the clk does not support setting the parent rate, use the same algorithm as before. Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Frank Oltmanns <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions