public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/gem_lmem_swapping: Use feature macro instead checking platform
Date: Fri,  2 Dec 2022 09:10:25 +0100	[thread overview]
Message-ID: <20221202081025.20273-1-zbigniew.kempczynski@intel.com> (raw)

Avoid future subtest modification for *-ccs subtests by using
HAS_FLATCCS() feature macro.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
 tests/i915/gem_lmem_swapping.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_lmem_swapping.c b/tests/i915/gem_lmem_swapping.c
index 969fb9080b..75121d4194 100644
--- a/tests/i915/gem_lmem_swapping.c
+++ b/tests/i915/gem_lmem_swapping.c
@@ -581,7 +581,7 @@ static void test_evict(int i915,
 	struct params params;
 
 	if (flags & TEST_CCS)
-		igt_require(IS_DG2(intel_get_drm_devid(i915)));
+		igt_require(HAS_FLATCCS(intel_get_drm_devid(i915)));
 
 	fill_params(i915, &params, region, flags, nproc, false);
 
-- 
2.34.1

             reply	other threads:[~2022-12-02  8:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02  8:10 Zbigniew Kempczyński [this message]
2022-12-02  8:50 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/gem_lmem_swapping: Use feature macro instead checking platform Patchwork
2022-12-02  8:54 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2022-12-02 10:08 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/gem_lmem_swapping: Use feature macro instead checking platform (rev2) Patchwork
2022-12-02 13:35   ` Zbigniew Kempczyński
2022-12-05 11:22 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/gem_lmem_swapping: Use feature macro instead checking platform (rev3) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2022-12-06  7:42 [igt-dev] [PATCH i-g-t] tests/gem_lmem_swapping: Use feature macro instead checking platform Zbigniew Kempczyński

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=20221202081025.20273-1-zbigniew.kempczynski@intel.com \
    --to=zbigniew.kempczynski@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