public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/2] tests/intel/kms_pipe_stress: use CRTC index not pipe for vblank ioctl
@ 2026-03-20 11:31 Jani Nikula
  2026-03-20 11:31 ` [PATCH i-g-t 2/2] lib/kms: fix igt_crtc_connector_valid() validity check Jani Nikula
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Jani Nikula @ 2026-03-20 11:31 UTC (permalink / raw)
  To: igt-dev; +Cc: Jani Nikula

The vblank ioctl expects CRTC index, not pipe. Fix the pipe vs. CRTC
index mixup by switching to use igt_crtc_get_vblank().

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 tests/intel/kms_pipe_stress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/kms_pipe_stress.c b/tests/intel/kms_pipe_stress.c
index 85ab2ec50621..a0ce3c4d7ecb 100644
--- a/tests/intel/kms_pipe_stress.c
+++ b/tests/intel/kms_pipe_stress.c
@@ -591,7 +591,7 @@ static void stress_pipes(struct data *data, struct timespec *start,
 
 		igt_pipe_crc_start(data->pipe_crc[pipe]);
 		igt_pipe_crc_get_current(data->display.drm_fd, data->pipe_crc[pipe], &crc);
-		kmstest_get_vblank(data->display.drm_fd, crtc->pipe, DRM_VBLANK_NEXTONMISS);
+		igt_crtc_get_vblank(crtc, DRM_VBLANK_NEXTONMISS);
 		igt_pipe_crc_get_current(data->display.drm_fd, data->pipe_crc[pipe], &crc2);
 		igt_pipe_crc_stop(data->pipe_crc[pipe]);
 		igt_assert_crc_equal(&crc, &crc2);
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-21 15:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 11:31 [PATCH i-g-t 1/2] tests/intel/kms_pipe_stress: use CRTC index not pipe for vblank ioctl Jani Nikula
2026-03-20 11:31 ` [PATCH i-g-t 2/2] lib/kms: fix igt_crtc_connector_valid() validity check Jani Nikula
2026-03-20 11:57   ` Ville Syrjälä
2026-03-20 11:57 ` [PATCH i-g-t 1/2] tests/intel/kms_pipe_stress: use CRTC index not pipe for vblank ioctl Ville Syrjälä
2026-03-20 15:26 ` ✓ Xe.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2026-03-20 15:44 ` ✓ i915.CI.BAT: " Patchwork
2026-03-21  7:26 ` ✗ i915.CI.Full: failure " Patchwork
2026-03-21 15:35 ` ✗ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox