]> 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)
commit207e4a71fb53e761be72daaeb78a49225bc31c69
tree9f55ece86c726651e3da2adbd033c8aef288d655
parent2386b492ded48bb4731ab4321715986bb29a0454
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