Searched hist:"672 e7b7c1849c904b2c55185906b3940843c55c6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_irq.c | diff d9e600b2e4a5e9f1dfe80cfcb453c8f5067a2a8a Thu Nov 20 14:10:33 CST 2014 Chris Wilson <chris@chris-wilson.co.uk> drm/i915: Only call mod_timer() if not already pending
The final arrangement of updating timer->expires and calling mod_timer() used in
commit 672e7b7c1849c904b2c55185906b3940843c55c6 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> diff 672e7b7c1849c904b2c55185906b3940843c55c6 Wed Nov 19 03:47:19 CST 2014 Chris Wilson <chris@chris-wilson.co.uk> drm/i915: Don't continually defer the hangcheck
With multiple rings, we may continue to render on the blitter whilst executing an infinite shader on the render ring. As we currently, rearm the timer with each execbuf, in this scenario the hangcheck will never fire and we will never detect the lockup on the render ring. Instead, only arm the timer once per hangcheck, so that hangcheck runs more frequently.
v2: Rearrange code to avoid triggering a BUG_ON in add_timer from softirq context.
Testcase: igt/gem_reset_stats/defer-hangcheck* Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86225 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> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
|