]> 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)
commit10c01ef5f9d3d1c36e74a811599b24a7c429508b
tree048fb270a33682849b973cc28a81a069e4b10444
parent9fd0c03c7be413981e080613b5525da7b77ba534
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