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

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Nov 19 16:02:19 UTC 2019


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 at intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen at 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



More information about the igt-dev mailing list