]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only reset the pinned kernel contexts on resume
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 10 Apr 2019 19:01:20 +0000 (20:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 10 Apr 2019 20:18:11 +0000 (21:18 +0100)
commit0ee54154babf108d778d515bdd47606c42466629
tree048fb270a33682849b973cc28a81a069e4b10444
parent5bf0b99cdf31c9d8dd4cd3b0760ea11c171541d0
drm/i915: Only reset the pinned kernel contexts on resume

On resume, we know that the only pinned contexts in danger of seeing
corruption are the kernel context, and so we do not need to walk the
list of all GEM contexts as we tracked them on each engine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190410190120.830-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_context_types.h
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h