aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-04-10 18:04:39 +0200
committerRafael J. Wysocki <[email protected]>2024-04-23 20:37:41 +0200
commit530c932bdf753a58cb29ba9eb39d9514458f9073 (patch)
tree12e3bb30fbc3291d84c1d921082404cb3bc57e80 /tools/perf/scripts/python/bin
parent80f5fd45c764816fe9dbe8e94bd2677b4a8a3f4d (diff)
thermal: gov_bang_bang: Use .trip_crossed() instead of .throttle()
The Bang-Bang governor really is only concerned about trip point crossing, so it can use the new .trip_crossed() callback instead of .throttle() that is not particularly suitable for it. Modify it to do so which also takes trip hysteresis into account, so the governor does not need to use it directly any more. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Lukasz Luba <[email protected]> Acked-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions