]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add flags to i915_ring_stop
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 28 Mar 2014 16:18:18 +0000 (18:18 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Apr 2014 13:07:42 +0000 (15:07 +0200)
commitf3164d8df2e9713e587cd235efc17f7e4e33961e
treeeadec76f7ebe8199ea907d3ca78f59398e5360eb
parenteeb1f241c247274daadfac0a86614883edd689e4
drm/i915: add flags to i915_ring_stop

Piglit runner and QA are both looking at the dmesg for
DRM_ERRORs with test cases. Add a flag to control those
when we they are expected from related test cases.

Also add flag to control if contexts should be banned
that introduced the hang. Hangcheck is timer based and
preventing bans by adding sleeps to testcases makes
testing slower.

v2: intel_ring_stopped(), readable comment (Chris)
v3: keep compatibility (Daniel)

References: https://bugs.freedesktop.org/show_bug.cgi?id=75876
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_ringbuffer.c