[igt-dev] [PATCH v4 0/1] test/gem_create: exercise gem_create_ext_set_pat

fei.yang at intel.com fei.yang at intel.com
Tue May 16 18:16:45 UTC 2023


From: Fei Yang <fei.yang at intel.com>

This is the first draft of a new test case exercising the set_pat
extension for GEM_CREATE.

v2: make sure {get|set}_caching ioctls are disabled.
v3: move header change to lib/i915/i915_drm_local.h, will submit a
    separate patch for include/uapi/drm/i915_drm.h after the kernel
    change lands in upstream.
v4: GEM_CREATE returns -EINVAL if set_pat is unsupported.

Fei Yang (1):
  test/gem_create: exercise gem_create_ext_set_pat

 lib/i915/i915_drm_local.h | 34 ++++++++++++++++++++++++++++
 tests/i915/gem_create.c   | 47 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

-- 
2.25.1



More information about the igt-dev mailing list