[i-g-t V3 0/4] Add pci_membarrier test in xe_mmap

Tejas Upadhyay tejas.upadhyay at intel.com
Mon Nov 18 11:36:02 UTC 2024


Series adds,
1. Remove all local defines which are landed from upstream kernel
include. Keeping include in igt_gt.h as its common header for all
such defines.
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                      |  1 -
 lib/i915/i915_drm_local.h                     |  6 --
 lib/i915/intel_memory_region.h                |  1 -
 lib/igt_gt.h                                  |  2 +-
 tests/intel/xe_mmap.c                         | 95 +++++++++++++++++++
 tools/i915-perf/i915_perf_recorder.c          |  2 -
 7 files changed, 125 insertions(+), 11 deletions(-)
 create mode 100644 include/drm-uapi-experimental/intel_drm_local.h

-- 
2.34.1



More information about the Intel-xe mailing list