]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf02a33ef38171f4f4049068723e91be121b03dba
tree4e99d51c59de1f7398f47224caffc423d4cea34d
parent7544e59d0ec1b781feb846e6cf76aa5e95cdd4c6
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