[PATCH 0/4] Add pci_membarrier test in xe_mmap

Tejas Upadhyay tejas.upadhyay at intel.com
Wed Nov 13 14:10:08 UTC 2024


Series adds,
1. Remove all local defines which are landed from upstream kernel
include
2. New flag in mmap_offset ioctl to provide query
support for special offset.
3. Adds pci_membarrier subtests xe_mmap test

Note: Similar drm-uapi change made here is under review
in KMD as well

Tejas Upadhyay (4):
  lib/i915_drm_local: Remove macros added via merged kernel
  include/drm-uapi-experimental: Move i915_drm_local.h to
    drm-uapi-experimental
  include/intel_drm_local.h: Add DRM_XE_MMAP_OFFSET_FLAG_PCI_BARRIER
  tests/xe/mmap: add tests for pci mem barrier

 .../drm-uapi-experimental/intel_drm_local.h   | 29 ++++++
 lib/i915/gem_scheduler.c                      |  2 +-
 lib/i915/i915_drm_local.h                     |  6 --
 lib/i915/intel_memory_region.h                |  2 +-
 lib/igt_gt.h                                  |  2 +-
 tests/intel/xe_mmap.c                         | 96 +++++++++++++++++++
 tools/i915-perf/i915_perf_recorder.c          |  2 +-
 7 files changed, 129 insertions(+), 10 deletions(-)
 create mode 100644 include/drm-uapi-experimental/intel_drm_local.h

-- 
2.34.1



More information about the igt-dev mailing list