[Intel-gfx] [PATCH 0/3] intel_memory_region bits

Matthew Auld matthew.auld at intel.com
Tue Oct 8 16:01:13 UTC 2019


First block of patches from the 'LMEM basics' series.

Matthew Auld (3):
  drm/i915: introduce intel_memory_region
  drm/i915/region: support contiguous allocations
  drm/i915/region: support volatile objects

 drivers/gpu/drm/i915/Makefile                 |   2 +
 drivers/gpu/drm/i915/gem/i915_gem_internal.c  |  17 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h    |  18 ++
 .../gpu/drm/i915/gem/i915_gem_object_types.h  |  20 ++
 drivers/gpu/drm/i915/gem/i915_gem_pages.c     |   6 +
 drivers/gpu/drm/i915/gem/i915_gem_region.c    | 169 +++++++++++
 drivers/gpu/drm/i915/gem/i915_gem_region.h    |  29 ++
 .../gpu/drm/i915/gem/selftests/huge_pages.c   |  97 +++++-
 drivers/gpu/drm/i915/i915_drv.h               |   1 +
 drivers/gpu/drm/i915/intel_memory_region.c    | 203 +++++++++++++
 drivers/gpu/drm/i915/intel_memory_region.h    |  90 ++++++
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c |   5 +-
 .../drm/i915/selftests/i915_mock_selftests.h  |   1 +
 .../drm/i915/selftests/intel_memory_region.c  | 280 ++++++++++++++++++
 .../gpu/drm/i915/selftests/mock_gem_device.c  |   1 +
 drivers/gpu/drm/i915/selftests/mock_region.c  |  59 ++++
 drivers/gpu/drm/i915/selftests/mock_region.h  |  16 +
 17 files changed, 995 insertions(+), 19 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_region.c
 create mode 100644 drivers/gpu/drm/i915/gem/i915_gem_region.h
 create mode 100644 drivers/gpu/drm/i915/intel_memory_region.c
 create mode 100644 drivers/gpu/drm/i915/intel_memory_region.h
 create mode 100644 drivers/gpu/drm/i915/selftests/intel_memory_region.c
 create mode 100644 drivers/gpu/drm/i915/selftests/mock_region.c
 create mode 100644 drivers/gpu/drm/i915/selftests/mock_region.h

-- 
2.20.1



More information about the Intel-gfx mailing list