Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: fei.yang@intel.com
To: igt-dev@lists.freedesktop.org
Cc: Fei Yang <fei.yang@intel.com>
Subject: [igt-dev] [PATCH v6 0/1] test/gem_create: exercise gem_create_ext_set_pat
Date: Fri, 26 May 2023 10:22:20 -0700	[thread overview]
Message-ID: <20230526172221.1438998-1-fei.yang@intel.com> (raw)

From: Fei Yang <fei.yang@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
v6: checking {get|set}_caching ioctls only for iGPU.

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

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

-- 
2.25.1

             reply	other threads:[~2023-05-26 17:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-26 17:22 fei.yang [this message]
2023-05-26 17:22 ` [igt-dev] [PATCH v6 1/1] test/gem_create: exercise gem_create_ext_set_pat fei.yang
2023-05-29 11:08   ` Kamil Konieczny
2023-05-26 18:17 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-05-27 17:51 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230526172221.1438998-1-fei.yang@intel.com \
    --to=fei.yang@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox