]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Reset the hangcheck timestamp before repeating a seqno
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 2 May 2018 22:03:12 +0000 (23:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 3 May 2018 09:43:45 +0000 (10:43 +0100)
commitea491b23b2ffba069537a8216060d4d3400931a7
tree77e1563962b7dd8120bb61e723e2966e8e5803c6
parente01569ab962145b2fb46f6240bf1f07ec3a6261a
drm/i915: Reset the hangcheck timestamp before repeating a seqno

In the unusual circumstance where we reuse a seqno (for example, in
igt), make sure that we reset the hangcheck timestamp before it sees the
same seqno again.

References: https://bugs.freedesktop.org/show_bug.cgi?id=106215
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180502220313.6459-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/intel_hangcheck.c