[igt-dev] [PATCH i-g-t v2 0/4] Basic LMEM support in IGT

Zbigniew Kempczyński
2019-11-19T16:02:40Z

This is second version of LMEM enabling in IGT.

v2: Refactoring, addressing issues from previous review.
Fixing bugs in tests.

Cc: Lukasz Kalamarz <lukasz.kalamarz@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>

Lukasz Kalamarz (4):
lib/i915/gem_mman: add mmap_offset support
lib/i915/intel_memory_region: Add lib to manage memory regions
tests/i915/gem_mmap_offset: Add new API test for gem_mmap_offset
tests/i915/gem_exec_basic: Iterate over all memory regions

lib/Makefile.sources | 2 +
lib/i915/gem_mman.c | 178 +++++++++++++++-----
lib/i915/gem_mman.h | 39 ++++-
lib/i915/intel_memory_region.c | 295 +++++++++++++++++++++++++++++++++
lib/i915/intel_memory_region.h | 139 ++++++++++++++++
lib/ioctl_wrappers.h | 1 +
lib/meson.build | 1 +
tests/Makefile.sources | 3 +
tests/i915/gem_exec_basic.c | 109 +++++++-----
tests/i915/gem_mmap_offset.c | 156 +++++++++++++++++
tests/meson.build | 1 +
11 files changed, 845 insertions(+), 79 deletions(-)
create mode 100644 lib/i915/intel_memory_region.c
create mode 100644 lib/i915/intel_memory_region.h
create mode 100644 tests/i915/gem_mmap_offset.c

--
2.23.0