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

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Wed Nov 20 18:57:35 UTC 2019


This is second version of LMEM enabling in IGT.

v2: Refactoring, addressing issues from previous review.
    Fixing bugs in tests.
v3: Changes according to the review comments.
    Adding gem_mmap__device_coherent(). 

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: Vanshidhar Konda <vanshidhar.r.konda at 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            | 222 ++++++++++++++++++++-----
 lib/i915/gem_mman.h            |  42 ++++-
 lib/i915/intel_memory_region.c | 291 +++++++++++++++++++++++++++++++++
 lib/i915/intel_memory_region.h | 141 ++++++++++++++++
 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   | 158 ++++++++++++++++++
 tests/meson.build              |   1 +
 11 files changed, 892 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