OSDN Git Service

drm/i915/gt: Provide a local intel_context.vm
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 30 Jul 2019 14:32:09 +0000 (15:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 30 Jul 2019 15:09:35 +0000 (16:09 +0100)
commitf5d974f9d2a811ef08c044b6fce95c94a6a6e19b
tree5289e077941a50e78091917e692bfbfe15557674
parentc082afac86cb31e2a5843336e81a9b89e3b0d664
drm/i915/gt: Provide a local intel_context.vm

Track the currently bound address space used by the HW context. Minor
conversions to use the local intel_context.vm are made, leaving behind
some more surgery required to make intel_context the primary through the
selftests.

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/20190730143209.4549-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_client_blt.c
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
drivers/gpu/drm/i915/gem/i915_gem_object_blt.c
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
drivers/gpu/drm/i915/gt/intel_context.c
drivers/gpu/drm/i915/gt/intel_context_types.h
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_ringbuffer.c
drivers/gpu/drm/i915/gvt/scheduler.c