All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Auld <matthew.auld@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Akshata Jahagirdar <akshata.jahagirdar@intel.com>
Subject: [PATCH i-g-t 3/3] tests/intel/xe_pat: assert flat CSS support for xe2
Date: Wed, 31 Jan 2024 11:43:05 +0000	[thread overview]
Message-ID: <20240131114305.202871-3-matthew.auld@intel.com> (raw)
In-Reply-To: <20240131114305.202871-1-matthew.auld@intel.com>

Xe2+ should support flat CCS compression, and here we are using
compressed PAT index modes. Assert the platform indeed has flat CCS
here, otherwise something is likely wrong.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Akshata Jahagirdar <akshata.jahagirdar@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
 tests/intel/xe_pat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/intel/xe_pat.c b/tests/intel/xe_pat.c
index 40256bada..3d7d7400c 100644
--- a/tests/intel/xe_pat.c
+++ b/tests/intel/xe_pat.c
@@ -1049,6 +1049,7 @@ igt_main_args("V", NULL, help_str, opt_handler, NULL)
 
 	igt_subtest_with_dynamic("pat-index-xe2") {
 		igt_require(intel_get_device_info(dev_id)->graphics_ver >= 20);
+		igt_assert(HAS_FLATCCS(dev_id));
 		subtest_pat_index_modes_with_regions(fd, xe2_pat_index_modes,
 						     ARRAY_SIZE(xe2_pat_index_modes));
 	}
-- 
2.43.0


  parent reply	other threads:[~2024-01-31 11:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-31 11:43 [PATCH i-g-t 1/3] lib/intel_device_info: set has_flatccs on LNL Matthew Auld
2024-01-31 11:43 ` [PATCH i-g-t 2/3] tests/intel/xe_ccs: require flat CCS on xe2 Matthew Auld
2024-01-31 12:21   ` Zbigniew Kempczyński
2024-01-31 12:28     ` Matthew Auld
2024-01-31 11:43 ` Matthew Auld [this message]
2024-02-01  9:13   ` [PATCH i-g-t 3/3] tests/intel/xe_pat: assert flat CSS support for xe2 Zbigniew Kempczyński
2024-01-31 12:13 ` ✓ CI.xeBAT: success for series starting with [i-g-t,1/3] lib/intel_device_info: set has_flatccs on LNL Patchwork
2024-01-31 12:18 ` [PATCH i-g-t 1/3] " Zbigniew Kempczyński
2024-01-31 12:28 ` ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] " 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=20240131114305.202871-3-matthew.auld@intel.com \
    --to=matthew.auld@intel.com \
    --cc=akshata.jahagirdar@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.