]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Harden detection of missed interrupts
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 9 Apr 2016 09:57:55 +0000 (10:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 9 Apr 2016 11:09:29 +0000 (12:09 +0100)
commit12471ba87a08bd1dd0aac18015d7782e02ea02de
tree06c4e5e6bcd30f17b93b933e8f04580a7dbb57af
parentc04e0f3b4ea01b3b1d81ccfce0a73bb0b297ba46
drm/i915: Harden detection of missed interrupts

Only declare a missed interrupt if we find that the GPU is idle with
waiters and a hangcheck interval has passed in which no new user
interrupts have been raised.

v2: Clear the stuck interrupt marker between successful batches

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460195877-20520-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_ringbuffer.h