diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-06-08 14:14:03 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-06-08 14:33:08 +0300 |
commit | bac2ef4b470b08e3748784eb8e84e00d3b121c20 (patch) | |
tree | d6e2005a1d36f9bf2dc9f03fc7759a1bc6cd6da3 /.gitignore | |
parent | 9f90ff392877581e2c9b54a2d5ecfd1f50d1f170 (diff) | |
download | linux-bac2ef4b470b08e3748784eb8e84e00d3b121c20.tar.xz |
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 <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170608111405.16466-2-chris@chris-wilson.co.uk
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions