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>, tvrtko.ursulin@intel.com
Subject: [igt-dev] [PATCH 1/1] test/i915/gem_create: skip set_pat for non MTL devices
Date: Wed, 26 Jul 2023 17:10:39 -0700	[thread overview]
Message-ID: <20230727001039.3923486-2-fei.yang@intel.com> (raw)
In-Reply-To: <20230727001039.3923486-1-fei.yang@intel.com>

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

Fix the logic checking for non-meteorlake devices.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Fei Yang <fei.yang@intel.com>
Cc: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
---
 tests/i915/gem_create.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
index 4b00fe6aa..87fde2963 100644
--- a/tests/i915/gem_create.c
+++ b/tests/i915/gem_create.c
@@ -680,7 +680,7 @@ static void create_ext_set_pat(int fd)
 	 * supported.
 	 */
 	igt_skip_on_f(ret == -EINVAL ||
-		      (ret == -ENODEV && IS_METEORLAKE(devid)),
+		      (ret == -ENODEV && !IS_METEORLAKE(devid)),
 		      "I915_GEM_CREATE_EXT_SET_PAT is not supported\n");
 
 	/*
-- 
2.25.1

  reply	other threads:[~2023-07-27  0:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27  0:10 [igt-dev] [PATCH 0/1] test/i915/gem_create: skip set_pat for non MTL devices fei.yang
2023-07-27  0:10 ` fei.yang [this message]
2023-07-27  8:47   ` [igt-dev] [PATCH 1/1] " Andi Shyti
2023-07-27  2:09 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-07-27  3:35 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-07-27  5:30 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-07-27  9:39   ` Kamil Konieczny
2023-07-27 11:25     ` Yedireswarapu, SaiX Nandan
2023-07-27 11:20 ` [igt-dev] ✓ Fi.CI.IGT: success " 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=20230727001039.3923486-2-fei.yang@intel.com \
    --to=fei.yang@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=tvrtko.ursulin@intel.com \
    /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