Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/2] tests/kms_bw: Check is_atomic, not its address
@ 2026-11-26 16:24 Roy
  2026-11-26 16:24 ` [PATCH i-g-t 2/2] tests/kms_bw: Skip when pipe CRCs aren't supported Roy
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Roy @ 2026-11-26 16:24 UTC (permalink / raw)
  To: igt-dev; +Cc: Roy

The fixture has igt_require(&data.display.is_atomic), which is always
true, so the test also runs on drivers without atomic modesetting
support. Test the value instead.

This change and its description were written with the help of an AI
coding assistant (Claude).

Signed-off-by: Roy <rongh7426@gmail.com>
---
 tests/kms_bw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_bw.c b/tests/kms_bw.c
index ea7cf7b..10bb520 100644
--- a/tests/kms_bw.c
+++ b/tests/kms_bw.c
@@ -334,7 +334,7 @@ int igt_main()
 		kmstest_set_vt_graphics_mode();
 
 		igt_display_require(&data.display, data.fd);
-		igt_require(&data.display.is_atomic);
+		igt_require(data.display.is_atomic);
 		igt_display_require_output(&data.display);
 
 	}
-- 
2.51.1.windows.1


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

end of thread, other threads:[~2026-12-01 17:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH i-g-t 2/2] tests/kms_bw: Skip when pipe CRCs aren't supported Roy
2026-11-27 12:54   ` 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

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