]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use the size/type of address space to make decisions
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Feb 2017 14:40:36 +0000 (14:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Feb 2017 17:09:27 +0000 (17:09 +0000)
commitfd0342c6a1e3c469312290f9beb58aa1a3a9fb9f
tree01d2777daa4dfc3ea41ea0c437e38e913c2fe90d
parent73a56697dca2f77524544077164ce1afa70efe0d
drm/i915: Use the size/type of address space to make decisions

Once the address space has been created (using 3 or 4 levels of page
tables), we should use that to program the appropriate type into the
contexts. This gives us the flexibility to handle different types of
address spaces at runtime.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170209144036.23664-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_gtt.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_lrc.c