]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use explicit flag to mark unreachable intel_context
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Mar 2020 17:07:06 +0000 (17:07 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Mar 2020 21:28:20 +0000 (21:28 +0000)
commit13aeee0601d387f9c46ede1cc8cdf80cc9874a76
tree9f55ece86c726651e3da2adbd033c8aef288d655
parent495f15c7f837fe06b9637be1115f1b18c52b0de7
drm/i915: Use explicit flag to mark unreachable intel_context

I need to keep the GEM context around a bit longer so adding an explicit
flag for syncing execbuf with closed/abandonded contexts.

v2:
 * Use already available context flags. (Chris)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200319170707.8262-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
drivers/gpu/drm/i915/gt/intel_context.c
drivers/gpu/drm/i915/gt/intel_context.h
drivers/gpu/drm/i915/gt/intel_context_types.h