OSDN Git Service

drm/i915: Remove has-kernel-context
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Mar 2019 09:36:57 +0000 (09:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Mar 2019 10:57:12 +0000 (10:57 +0000)
commit7d6ce55887a44c15c6df29e883d0ea567c8ac55c
treef2ec48386d3287b48ac2c9b5846e1c3c6eaa7c23
parentc6eeb4797eb94ad14bb34adfccbc6addad2cfd48
drm/i915: Remove has-kernel-context

We can no longer assume execution ordering, and in particular we cannot
assume which context will execute last. One side-effect of this is that
we cannot determine if the kernel-context is resident on the GPU, so
remove the routines that claimed to do so.

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/20190308093657.8640-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_active.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_ringbuffer.h