diff options
Diffstat (limited to 'sys/dev/pci/drm/i915/i915_irq.c')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_irq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/i915_irq.c b/sys/dev/pci/drm/i915/i915_irq.c index 460e6219a27..d498057b2de 100644 --- a/sys/dev/pci/drm/i915/i915_irq.c +++ b/sys/dev/pci/drm/i915/i915_irq.c @@ -1782,10 +1782,9 @@ i915_hangcheck_ring_idle(struct intel_ring_buffer *ring, bool *err) i915_seqno_passed(ring->get_seqno(ring, false), ring_last_seqno(ring))) { /* Issue a wake-up to catch stuck h/w. */ - if (wakeup_pending(ring)) { + if (wakeup(ring) > 0) { DRM_ERROR("Hangcheck timer elapsed... %s idle\n", ring->name); - wakeup(ring); *err = true; } return true; |