]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Update the breadcrumb interrupt counter before enabling
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Jul 2016 09:10:21 +0000 (10:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Jul 2016 09:57:20 +0000 (10:57 +0100)
commit6b3ca1be7f91542691286a2f17827afa9e64ea19
tree89599960b0d930007fd75b4a8290622889a287c1
parentc886fab950e3b43ecfea92033c49d0982ae649a2
drm/i915: Update the breadcrumb interrupt counter before enabling

In order to close a race with a long running hangcheck comparing a stale
interrupt counter with a just started waiter, we need to first bump the
counter as we start the fresh wait.

References: https://bugs.freedesktop.org/show_bug.cgi?id=96974
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469351421-13493-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_breadcrumbs.c