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

fei.yang at intel.com fei.yang at intel.com
Wed May 24 15:56:09 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.
v5: address comments from Kamil Konieczny

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

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

-- 
2.25.1



More information about the igt-dev mailing list