]> 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)
commita69f61b90a79653f4f3a3fba00764e6f108c54b2
tree4e99d51c59de1f7398f47224caffc423d4cea34d
parent97b8e50d7cb0ed2c6153484c04e96a5404945cd2
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