[Intel-gfx] [PATCH 0/4] ttm for internal

Robert Beckett bob.beckett at collabora.com
Tue May 3 19:13:12 UTC 2022


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(-)

-- 
2.25.1



More information about the Intel-gfx mailing list