]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop racy markup of missed-irqs from idle-worker
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Jul 2016 09:10:20 +0000 (10:10 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Jul 2016 09:57:19 +0000 (10:57 +0100)
commit3df5660d44d4b5c395caa0a40a956430930e1551
tree0e5801e082b46f2fed7dd0de0b08df4911ecb42c
parent905b7d9ce0cd6b42d6853dca0f70e2053fe91c66
drm/i915: Drop racy markup of missed-irqs from idle-worker

During the idle-worker we disable the hangcheck and so kick any waiters
that should have been completed (since the GPU is now idle). Unlike the
hangcheck, we do not take any care to avoid the race between the irq
handler and ourselves, and so it is possible for us to declare a missed
interrupt even as the bottom-half is being scheduled to run. Let's
ignore this race to stop a potential false-positive error.

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-1-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c