aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2011-01-20 13:19:55 -0800
committerLinus Torvalds <[email protected]>2011-01-20 16:18:25 -0800
commitd7b9935a347ae954be907ea3d5eb4564ff124c53 (patch)
treee830f6ce1e65300db9d6b00b94a9d144fc95c72f /tools/perf/util/trace-event-scripting.c
parentb23fffd778c312b8fb258d342051fcbdf6712128 (diff)
i915: Fix i915 suspend delay
During system suspend, the "wait for ring buffer to empty" loop would always time out after three seconds, because the faster cached ring buffer head read would always return zero. Force the slow-and-careful PIO read on all but the first iterations of the loop to fix it. This also removes the unused (and useless) 'actual_head' variable that tried to approximate doing this, but did it incorrectly. Cc: Chris Wilson <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: Jesse Barnes <[email protected]> Cc: Dave Airlie <[email protected]> Cc: DRI mailing list <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions