]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only call mod_timer() if not already pending
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Nov 2014 20:10:33 +0000 (20:10 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Nov 2014 21:48:34 +0000 (22:48 +0100)
commit131f80eb6532aff710b1f570e0a6a4da37767410
tree9cf06c5c1cf26418cab22d0b7bed45c53cf482ca
parent452cb36cb47e0b38113dbd7c4c34d89d52a5822a
drm/i915: Only call mod_timer() if not already pending

The final arrangement of updating timer->expires and calling mod_timer()
used in

commit 13e9703c5f5a010f1feaf6d07cee3b4432f0f4e8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Nov 19 09:47:19 2014 +0000

    drm/i915: Don't continually defer the hangcheck

turns out to be very unsafe. Try again.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c