[igt-dev] [RFC PATCH 0/4] Basic LMEM support in IGT
Lukasz Kalamarz
lukasz.kalamarz at intel.com
Wed Aug 14 10:21:36 UTC 2019
With ongoing effort to enable LMEM in i915 we need to be sure, that
IGTs are going in par with those changes. This patch series introduce
basic test coverage of new API's intoruduced in kernel series.
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 | 188 +++++++++++++++++++++++++++----
lib/i915/gem_mman.h | 37 ++++++-
lib/i915/intel_memory_region.c | 164 +++++++++++++++++++++++++++
lib/i915/intel_memory_region.h | 112 +++++++++++++++++++
lib/ioctl_wrappers.h | 1 +
lib/meson.build | 1 +
tests/Makefile.sources | 3 +
tests/i915/gem_exec_basic.c | 138 ++++++++++++++++++-----
tests/i915/gem_mmap_offset.c | 197 +++++++++++++++++++++++++++++++++
tests/meson.build | 1 +
11 files changed, 794 insertions(+), 50 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.20.1
More information about the igt-dev
mailing list