drm/i915: Defer declaration of missed-interrupt until the waiter is asleep
authorChris Wilson <[email protected]>
Fri, 17 Feb 2017 15:13:02 +0000 (15:13 +0000)
committerChris Wilson <[email protected]>
Fri, 17 Feb 2017 15:31:14 +0000 (15:31 +0000)
commit8998567b51141f79309d1267640c919dfd23d3a4
tree1ce1ca9abcec8b488dc0a62f4d74e038a4b018ac
parentc33ed067d13b7fae9e19ef1a9e302b8fc90c43d8
drm/i915: Defer declaration of missed-interrupt until the waiter is asleep

If the waiter was currently running, assume it hasn't had a chance
to process the pending interrupt (e.g, low priority task on a loaded
system) and wait until it sleeps before declaring a missed interrupt.

References: https://bugs.freedesktop.org/show_bug.cgi?id=99816
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_breadcrumbs.c