From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Lyude Paul <lyude@redhat.com>
Subject: [PATCH i-g-t 3/5] tests/nouveau_crc: Use igt_first_crtc() instead of igt_crtc_for_pipe()
Date: Thu, 5 Mar 2026 15:40:36 +0200 [thread overview]
Message-ID: <20260305134038.6995-4-ville.syrjala@linux.intel.com> (raw)
In-Reply-To: <20260305134038.6995-1-ville.syrjala@linux.intel.com>
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
The specific CRTC used for the ctx-flip-threshold-reset-after-capture
subtest supposedly doesn't matter, so find one using the more hardware
agnostic igt_first_crtc() rather than igt_crtc_for_pipe().
Cc: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
tests/nouveau_crc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/nouveau_crc.c b/tests/nouveau_crc.c
index 59fa8a2daeb8..b71aac45bb79 100644
--- a/tests/nouveau_crc.c
+++ b/tests/nouveau_crc.c
@@ -401,8 +401,8 @@ int igt_main()
igt_describe("Make sure that the CRC notifier context flip threshold "
"is reset to its default value after a single capture.");
igt_subtest("ctx-flip-threshold-reset-after-capture") {
- data.crtc = igt_crtc_for_pipe(&data.display, PIPE_A);
- igt_require(data.crtc->valid);
+ data.crtc = igt_first_crtc(&data.display);
+ igt_require(data.crtc);
run_test(&data, test_ctx_flip_threshold_reset_after_capture);
}
--
2.52.0
next prev parent reply other threads:[~2026-03-05 13:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 13:40 [PATCH i-g-t 0/5] kms: A bit more cleanup around igt_kms Ville Syrjala
2026-03-05 13:40 ` [PATCH i-g-t 1/5] tests/nouveau_crc: Extract {setup,cleanup}_test() Ville Syrjala
2026-03-06 11:00 ` Jani Nikula
2026-03-06 20:57 ` Lyude Paul
2026-03-05 13:40 ` [PATCH i-g-t 2/5] tests/nouveau_crc: Convert to dynamic subtests Ville Syrjala
2026-03-06 11:13 ` Jani Nikula
2026-03-06 11:38 ` Ville Syrjälä
2026-03-05 13:40 ` Ville Syrjala [this message]
2026-03-06 11:14 ` [PATCH i-g-t 3/5] tests/nouveau_crc: Use igt_first_crtc() instead of igt_crtc_for_pipe() Jani Nikula
2026-03-06 20:57 ` Lyude Paul
2026-03-05 13:40 ` [PATCH i-g-t 4/5] lib/kms: Make igt_first_crtc() skip if no CRTCs are around Ville Syrjala
2026-03-06 11:17 ` Jani Nikula
2026-03-05 13:40 ` [PATCH i-g-t 5/5] lib/kms: Make igt_first_crtc_with_single_output() skip if no CRTC/output can be found Ville Syrjala
2026-03-06 11:19 ` Jani Nikula
2026-03-05 23:16 ` ✗ Xe.CI.BAT: failure for kms: A bit more cleanup around igt_kms Patchwork
2026-03-05 23:20 ` ✓ i915.CI.BAT: success " Patchwork
2026-03-06 16:32 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-07 3:53 ` ✓ i915.CI.Full: 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=20260305134038.6995-4-ville.syrjala@linux.intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=lyude@redhat.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