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

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Fri Nov 22 08:13:53 UTC 2019


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(). 
v4: If memory region query is not supported use probe()
    as a fallback to system and device memory regions.
v5: Quickfix - removing override which enforces probe()

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 (3):
  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

Zbigniew Kempczyński (1):
  include/drm-uapi/i915_drm: Add local defs for memory region uAPI

 include/drm-uapi/i915_drm.h    |  92 ++++++++
 lib/Makefile.sources           |   2 +
 lib/i915/gem_mman.c            | 225 ++++++++++++++++----
 lib/i915/gem_mman.h            |  18 +-
 lib/i915/intel_memory_region.c | 369 +++++++++++++++++++++++++++++++++
 lib/i915/intel_memory_region.h |  88 ++++++++
 lib/ioctl_wrappers.h           |   1 +
 lib/meson.build                |   1 +
 tests/Makefile.sources         |   3 +
 tests/i915/gem_mmap_offset.c   | 163 +++++++++++++++
 tests/meson.build              |   1 +
 11 files changed, 923 insertions(+), 40 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