From: Roy <rongh7426@gmail.com>
To: igt-dev@lists.freedesktop.org
Cc: Roy <rongh7426@gmail.com>
Subject: [PATCH i-g-t 2/2] tests/kms_bw: Skip when pipe CRCs aren't supported
Date: Fri, 27 Nov 2026 00:24:33 +0800 [thread overview]
Message-ID: <20261126162433.665660-2-rongh7426@gmail.com> (raw)
In-Reply-To: <20261126162433.665660-1-rongh7426@gmail.com>
Every subtest collects pipe CRCs, but the test never checks that the
driver supports them. On a driver without CRC support each subtest that
gets past the mode checks fails in pipe_crc_new() instead of skipping.
On a Raspberry Pi 5 (vc4) that is 32 failures:
(kms_bw) igt_pipe_crc-CRITICAL: Failed assertion: pipe_crc->ctl_fd != -1
(kms_bw) igt_pipe_crc-CRITICAL: Last errno: 2, No such file or directory
Subtest linear-tiling-1-displays-target-1920x1080p: FAIL
Add igt_require_pipe_crc() to the fixture, as other CRC-based tests do.
Tested on a Raspberry Pi 5 (Raspberry Pi OS kernel 6.18.39): 32 fail and
96 skip before, all 128 subtests skip after with "crtc-0/crc/control"
missing.
This change and its description were written with the help of an AI
coding assistant (Claude); the test runs above were done on real
hardware.
Signed-off-by: Roy <rongh7426@gmail.com>
---
tests/kms_bw.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_bw.c b/tests/kms_bw.c
index 10bb520..a56b4ee 100644
--- a/tests/kms_bw.c
+++ b/tests/kms_bw.c
@@ -336,6 +336,7 @@ int igt_main()
igt_display_require(&data.display, data.fd);
igt_require(data.display.is_atomic);
igt_display_require_output(&data.display);
+ igt_require_pipe_crc(data.fd);
}
--
2.51.1.windows.1
next prev parent reply other threads:[~2026-11-26 16:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 16:24 [PATCH i-g-t 1/2] tests/kms_bw: Check is_atomic, not its address Roy
2026-11-26 16:24 ` Roy [this message]
2026-11-27 12:54 ` [PATCH i-g-t 2/2] tests/kms_bw: Skip when pipe CRCs aren't supported Kamil Konieczny
2026-12-01 17:02 ` Kamil Konieczny
2026-11-27 4:28 ` ✗ LGCI.VerificationFailed: failure for series starting with [i-g-t,1/2] tests/kms_bw: Check is_atomic, not its address Patchwork
2026-11-27 12:29 ` [PATCH i-g-t 1/2] " Kamil Konieczny
2026-11-28 1:04 ` ✓ Xe.CI.BAT: success for series starting with [i-g-t,1/2] tests/kms_bw: Check is_atomic, not its address (rev2) Patchwork
2026-11-28 1:16 ` ✓ i915.CI.BAT: " Patchwork
2026-11-28 23:23 ` ✓ Xe.CI.FULL: " Patchwork
2026-11-29 10:29 ` ✓ i915.CI.Full: " 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=20261126162433.665660-2-rongh7426@gmail.com \
--to=rongh7426@gmail.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