[igt-dev] [PATCH i-g-t v2 0/3] Add GEM_MMAP_OFFSET support in IGT.
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Mon Nov 25 11:05:34 UTC 2019
Enable GEM_MMAP_OFFSET uAPI.
Series comes from split 'LMEM enabling in IGT'.
Mmap_offset will land before memory region so add support for it.
v2: Change WC -> WB according to review
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 (2):
lib/i915/gem_mman: add mmap_offset support
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 mmap_offset
include/drm-uapi/i915_drm.h | 33 ++++++
lib/i915/gem_mman.c | 223 +++++++++++++++++++++++++++++------
lib/i915/gem_mman.h | 16 ++-
tests/Makefile.sources | 3 +
tests/i915/gem_mmap_offset.c | 126 ++++++++++++++++++++
tests/meson.build | 1 +
6 files changed, 362 insertions(+), 40 deletions(-)
create mode 100644 tests/i915/gem_mmap_offset.c
--
2.23.0
More information about the igt-dev
mailing list