]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Allow failed resets without assertion
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jan 2021 11:51:42 +0000 (11:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jan 2021 09:17:22 +0000 (09:17 +0000)
commit9da8228edff3ea7b186968120f2af97b98bcf7a6
treeb7fb818bc549c4f90efe1c0dc36abb0226fd2847
parent138dc062cbdf413b0922bce616f52f1c3875071f
drm/i915/gt: Allow failed resets without assertion

If the engine reset fails, we will attempt to resume with the current
inflight submissions. When that happens, we cannot assert that the
engine reset cleared the pending submission, so do not.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2878
Fixes: 7d142d0b7ec5 ("drm/i915/gt: Replace direct submit with direct call to tasklet")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210104115145.24460-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_types.h
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/gt/intel_reset.c
drivers/gpu/drm/i915/gt/selftest_execlists.c