]> git.baikalelectronics.ru Git - kernel.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)
commit153d1a6bc8d6f1f6098df3e56acd51019055cade
tree77e1563962b7dd8120bb61e723e2966e8e5803c6
parentb17270da4675c22e9333601dbd4fed970b2e6a62
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