drm/i915: After reset on sanitization, reset the engine backends
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 May 2018 08:22:45 +0000 (09:22 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 May 2018 18:29:53 +0000 (19:29 +0100)
commitc3160da9a6af0e2d8f4fb3410df9d027a178ca3d
tree4e99d51c59de1f7398f47224caffc423d4cea34d
parent0606035fcab6b2630b0d95a5b31e235ec9ad5642
drm/i915: After reset on sanitization, reset the engine backends

As we reset the GPU on suspend/resume, we also do need to reset the
engine state tracking so call into the engine backends. This is
especially important so that we can also sanitize the state tracking
across resume.

References: https://bugs.freedesktop.org/show_bug.cgi?id=106702
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180531082246.9763-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c