summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAndre Eikmeyer <dev@deq.rocks>2026-08-10 16:03:52 +0200
committerJiri Kosina <jkosina@suse.com>2026-09-11 16:08:37 +0200
commit2dc4e4317684b541f89e77da06de59bdf508f362 (patch)
treead57ed036b59e5eef91b65b2b24671c847b2293f /tools/perf/scripts/python/flamegraph.py
parent986c24e0fe44f844b44d365b71ce831947f50298 (diff)
HID: apple-touchbar: avoid nested runtime PM in PM callbacks
Runtime suspend of the Touch Bar display stalls because its HID suspend callback requests a runtime PM resume while already running as part of the same USB PM transition. The nested request waits for the transition that invoked the callback to finish. The matching resume callback has the same problem. It can stall after the virtual host controller has successfully resumed the port. The mode update is therefore split into an active-device helper and a runtime-PM-managed wrapper. Both PM callbacks call the active-device helper and no longer acquire a nested runtime PM reference. We maintain the apple-bce/t2bce virtual host controller used on these systems. Although that module is not yet upstream, its runtime PM path has already been adjusted so the complete suspend and resume cycle works with this change. Signed-off-by: Andre Eikmeyer <dev@deq.rocks> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions