mbox series

[0/4] ttm for internal

Message ID 20220503191316.1145124-1-bob.beckett@collabora.com (mailing list archive)
Headers show
Series ttm for internal | expand

Message

Bob Beckett May 3, 2022, 7:13 p.m. UTC
This series refactors i915's internal buffer backend to use ttm.
It uses ttm's pool allocator to allocate volatile pages in place of the
old code which rolled its own via alloc_pages.
This is continuing progress to align all backends on using ttm.

Robert Beckett (4):
  drm/i915: add gen6 ppgtt dummy creation function
  drm/i915: setup ggtt scratch page after memory regions
  drm/i915: allow volatile buffers to use ttm pool allocator
  drm/i915: internal buffers use ttm backend

 drivers/gpu/drm/i915/gem/i915_gem_internal.c | 264 ++++++++-----------
 drivers/gpu/drm/i915/gem/i915_gem_internal.h |   5 -
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c      |  15 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.h      |  12 +-
 drivers/gpu/drm/i915/gt/gen6_ppgtt.c         |  43 ++-
 drivers/gpu/drm/i915/gt/intel_gt_gmch.c      |  20 +-
 drivers/gpu/drm/i915/gt/intel_gt_gmch.h      |   6 +
 drivers/gpu/drm/i915/i915_driver.c           |  16 +-
 8 files changed, 201 insertions(+), 180 deletions(-)