]> asedeno.scripts.mit.edu Git - linux.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)
commitf4107766a96ed743c032de1edd753dbcb1839e38
treefc29a0189c9326a1d1abd44263c397177dca8339
parentd69ebf4082e993d473f82bd630bb4d6e38f6fee7
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