diff options
| author | Chris Wilson <[email protected]> | 2017-06-08 12:14:03 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-06-08 12:33:08 +0100 |
| commit | bac2ef4b470b08e3748784eb8e84e00d3b121c20 (patch) | |
| tree | d6e2005a1d36f9bf2dc9f03fc7759a1bc6cd6da3 /tools/perf/util/c++/clang.cpp | |
| parent | 9f90ff392877581e2c9b54a2d5ecfd1f50d1f170 (diff) | |
drm/i915: Report back whether the irq was armed when adding the waiter
The important condition that we need to check after enabling the
interrupt for signaling is whether the request completed in the process
(and so we missed that interrupt). A large cost in enabling the
signaling (rather than waiters) is in waking up the auxiliary signaling
thread, but we only need to do so to catch that missed interrupt. If we
know we didn't miss any interrupts (because we didn't arm the interrupt)
then we can skip waking the auxiliary thread.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions