]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/hangcheck: Track context changes
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 May 2019 11:45:28 +0000 (12:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 May 2019 10:47:23 +0000 (11:47 +0100)
commit301d1ca4ed2322ad504d08b4a8299be6839c5d48
treefc29a0189c9326a1d1abd44263c397177dca8339
parent3fdb37cc7bca5a4e2b4ee1bc24bf7e9b67473e07
drm/i915/hangcheck: Track context changes

Given sufficient preemption, we may see a busy system that doesn't
advance seqno while performing work across multiple contexts, and given
sufficient pathology not even notice a change in ACTHD. What does change
between the preempting contexts is their RING, so take note of that and
treat a change in the ring address as being an indication of forward
progress.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190501114541.10077-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_types.h
drivers/gpu/drm/i915/gt/intel_hangcheck.c