From: Clint Taylor <clinton.a.taylor@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t v5 5/7] tests/intel/kms_draw_crc: fix x-tiled tests for case when there is no x-tile
Date: Wed, 18 Dec 2024 13:36:52 -0800 [thread overview]
Message-ID: <20241218213654.2734573-6-clinton.a.taylor@intel.com> (raw)
In-Reply-To: <20241218213654.2734573-1-clinton.a.taylor@intel.com>
From: Juha-pekka Heikkila <juha-pekka.heikkila@intel.com>
On Xe3 display no more support x-tile and will disable such framebuffers
v2: Optimize display_ver check (Sai Teja)
Signed-off-by: Juha-pekka Heikkila <juha-pekka.heikkila@intel.com>
Signed-off-by: Clint Taylor <Clinton.A.Taylor@intel.com>
---
tests/intel/kms_draw_crc.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/intel/kms_draw_crc.c b/tests/intel/kms_draw_crc.c
index e3d1c0ba9..7d1cc2da5 100644
--- a/tests/intel/kms_draw_crc.c
+++ b/tests/intel/kms_draw_crc.c
@@ -243,8 +243,10 @@ static void fill_fb_subtest(void)
get_fill_crc(DRM_FORMAT_MOD_LINEAR, &crc);
igt_assert_crc_equal(&crc, &base_crc);
- get_fill_crc(I915_FORMAT_MOD_X_TILED, &crc);
- igt_assert_crc_equal(&crc, &base_crc);
+ if (igt_display_has_format_mod(&display, DRM_FORMAT_XRGB8888, I915_FORMAT_MOD_X_TILED)) {
+ get_fill_crc(I915_FORMAT_MOD_X_TILED, &crc);
+ igt_assert_crc_equal(&crc, &base_crc);
+ }
if (intel_display_ver(intel_get_drm_devid(drm_fd)) >= 9) {
get_fill_crc(has_4tile ?
--
2.25.1
next prev parent reply other threads:[~2024-12-18 21:37 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-18 21:36 [PATCH i-g-t v5 0/7] Initial PTL support Clint Taylor
2024-12-18 21:36 ` [PATCH i-g-t v5 1/7] lib/intel_chipset: add pantherlake definition and support Clint Taylor
2024-12-18 22:04 ` Cavitt, Jonathan
2024-12-18 21:36 ` [PATCH i-g-t v5 2/7] lib/intel_pat: extend for xe3 Clint Taylor
2024-12-18 22:04 ` Cavitt, Jonathan
2024-12-18 21:36 ` [PATCH i-g-t v5 3/7] tests/intel/xe_pat: " Clint Taylor
2024-12-18 22:04 ` Cavitt, Jonathan
2024-12-18 21:36 ` [PATCH i-g-t v5 4/7] tests/kms_addfb_basic: fix x-tiled tests for case when there is no x-tile Clint Taylor
2024-12-18 22:05 ` Cavitt, Jonathan
2024-12-18 21:36 ` Clint Taylor [this message]
2024-12-18 22:05 ` [PATCH i-g-t v5 5/7] tests/intel/kms_draw_crc: " Cavitt, Jonathan
2024-12-18 21:36 ` [PATCH i-g-t v5 6/7] tests/kms_cursor_legacy: flip_vs_cursor_busy_crc was requiring any driver but used intel x-tile Clint Taylor
2024-12-18 22:05 ` Cavitt, Jonathan
2024-12-18 21:36 ` [PATCH i-g-t v5 7/7] tests/intel/kms_frontbuffer_tracking: fix x-tiled tests for case when there is no x-tile Clint Taylor
2024-12-18 22:05 ` Cavitt, Jonathan
2024-12-19 0:06 ` ✓ i915.CI.BAT: success for Initial PTL support (rev5) Patchwork
2024-12-19 2:27 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-19 13:33 ` ✗ i915.CI.Full: failure " Patchwork
2024-12-19 21:19 ` ✗ Xe.CI.Full: " Patchwork
2024-12-20 9:53 ` [PATCH i-g-t v5 0/7] Initial PTL support Saarinen, Jani
2025-01-09 14:26 ` ✗ i915.CI.BAT: failure for Initial PTL support (rev6) Patchwork
2025-01-09 14:52 ` Kamil Konieczny
2025-01-15 15:16 ` Kamil Konieczny
2025-01-17 3:43 ` Illipilli, TejasreeX
2025-01-09 14:49 ` ✓ Xe.CI.BAT: success " Patchwork
2025-01-11 21:23 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-15 11:41 ` Kamil Konieczny
2025-01-15 15:03 ` Juha-Pekka Heikkilä
2025-01-15 15:11 ` Matthew Auld
2025-01-16 10:09 ` ✓ i915.CI.BAT: success " Patchwork
2025-01-17 11:58 ` ✗ i915.CI.Full: failure " Patchwork
2025-01-17 13:35 ` Kamil Konieczny
2025-01-17 14:05 ` [PATCH i-g-t v5 0/7] Initial PTL support Kamil Konieczny
2025-01-17 16:31 ` Saarinen, Jani
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=20241218213654.2734573-6-clinton.a.taylor@intel.com \
--to=clinton.a.taylor@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