]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Refactor wakeup of the next breadcrumb waiter
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Mar 2017 17:14:22 +0000 (17:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Mar 2017 18:31:37 +0000 (18:31 +0000)
commit74b7615d16bd0f92063458ad967e128920d241da
tree87ac509fa2c22294a77045850cf9d4ceb47cded9
parentcdb9fc3e4be3170db34ef5648b232b36bcc97ab7
drm/i915: Refactor wakeup of the next breadcrumb waiter

Refactor the common task of updating the first_waiter, serialised with
the interrupt handler. When we update the first_waiter, we also need to
wakeup the new bottom-half in order to complete the actions that we may
have delegated to it (such as checking the irq-seqno coherency or waking
up other lower priority concurrent waiters).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170303171422.4735-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_breadcrumbs.c