[Intel-gfx] [PATCH v3 0/7] Add back the buddy allocator
Matthew Auld
matthew.auld at intel.com
Tue Jun 8 11:02:47 UTC 2021
Needs to be applied on top of:
https://patchwork.freedesktop.org/series/90681/
Matthew Auld (6):
drm/i915/ttm: add ttm_buddy_man
drm/i915/ttm: add i915_sg_from_buddy_resource
drm/i915/ttm: pass along the I915_BO_ALLOC_CONTIGUOUS
drm/i915/ttm: remove node usage in our naming
drm/i915/ttm: switch over to ttm_buddy_man
drm/i915/ttm: restore min_page_size behaviour
Thomas Hellström (1):
drm/i915/ttm: Calculate the object placement at get_pages time
drivers/gpu/drm/i915/Makefile | 2 +
.../gpu/drm/i915/gem/i915_gem_object_types.h | 5 +-
drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 98 ++-
drivers/gpu/drm/i915/i915_buddy.c | 412 +++++++++
drivers/gpu/drm/i915/i915_buddy.h | 133 +++
drivers/gpu/drm/i915/i915_scatterlist.c | 80 ++
drivers/gpu/drm/i915/i915_scatterlist.h | 5 +
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c | 248 ++++++
drivers/gpu/drm/i915/i915_ttm_buddy_manager.h | 56 ++
drivers/gpu/drm/i915/intel_memory_region.c | 55 +-
drivers/gpu/drm/i915/intel_memory_region.h | 20 +-
drivers/gpu/drm/i915/intel_region_ttm.c | 139 ++-
drivers/gpu/drm/i915/intel_region_ttm.h | 16 +-
drivers/gpu/drm/i915/selftests/i915_buddy.c | 789 ++++++++++++++++++
.../drm/i915/selftests/intel_memory_region.c | 170 ++--
drivers/gpu/drm/i915/selftests/mock_region.c | 28 +-
16 files changed, 2003 insertions(+), 253 deletions(-)
create mode 100644 drivers/gpu/drm/i915/i915_buddy.c
create mode 100644 drivers/gpu/drm/i915/i915_buddy.h
create mode 100644 drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
create mode 100644 drivers/gpu/drm/i915/i915_ttm_buddy_manager.h
create mode 100644 drivers/gpu/drm/i915/selftests/i915_buddy.c
--
2.26.3
More information about the Intel-gfx
mailing list