Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/kms_cursor_legacy: reduce CI debug output
@ 2026-10-26 16:12 Jeevan B
  2026-10-26 19:22 ` ✓ Xe.CI.BAT: success for tests/kms_cursor_legacy: reduce CI debug output (rev2) Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jeevan B @ 2026-10-26 16:12 UTC (permalink / raw)
  To: igt-dev; +Cc: pranay.samala, Jeevan B

Use DRM_UT_CORE instead of DRM_UT_KMS in CI to reduce log volume while
retaining diagnostics. This applies to all subtests, including the
reported cursorA-vs-flipA-atomic-transitions case.

Log the actual debug mask instead of the hard-coded 0x4.
Intel CI output-limit validation is still pending.

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/16961
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 lib/igt_sysfs.c           | 3 ++-
 tests/kms_cursor_legacy.c | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/igt_sysfs.c b/lib/igt_sysfs.c
index 9952c1c0d..873015bdc 100644
--- a/lib/igt_sysfs.c
+++ b/lib/igt_sysfs.c
@@ -537,7 +537,8 @@ void update_debug_mask_if_ci(unsigned int debug_mask_if_ci)
 	const char *ci_run = getenv("IGT_CI_RUN");
 
 	if (ci_run && ci_run[0] == '1') {
-		igt_debug("Currently under CI execution, reducing the DRM debug mask to 0x4\n");
+		igt_debug("Currently under CI execution, reducing the DRM debug mask to 0x%x\n",
+			  debug_mask_if_ci);
 		igt_drm_debug_mask_update(debug_mask_if_ci);
 	}
 }
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 62339855e..5d8bcae9e 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1888,7 +1888,8 @@ int igt_main()
 	};
 
 	igt_fixture() {
-		unsigned int debug_mask_if_ci = DRM_UT_KMS;
+		/* Keep CORE diagnostics without the high-volume KMS debug logs. */
+		unsigned int debug_mask_if_ci = DRM_UT_CORE;
 		display.drm_fd = drm_open_driver_master(DRIVER_ANY);
 		kmstest_set_vt_graphics_mode();
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] tests/kms_cursor_legacy: reduce CI debug output
@ 2026-10-26  9:45 Jeevan B
  2026-10-26 11:45 ` Samala, Pranay
  0 siblings, 1 reply; 7+ messages in thread
From: Jeevan B @ 2026-10-26  9:45 UTC (permalink / raw)
  To: igt-dev; +Cc: Jeevan B

Reduce CI output to avoid exceeding the runner's per-test limit.

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/16960
Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/16961
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 tests/kms_cursor_legacy.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 62339855e..9c6b63cbd 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1888,7 +1888,8 @@ int igt_main()
 	};
 
 	igt_fixture() {
-		unsigned int debug_mask_if_ci = DRM_UT_KMS;
+		/* KMS debug logs can exceed the CI per-test output limit here. */
+		unsigned int debug_mask_if_ci = 0;
 		display.drm_fd = drm_open_driver_master(DRIVER_ANY);
 		kmstest_set_vt_graphics_mode();
 
-- 
2.43.0


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

end of thread, other threads:[~2026-10-27  1:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-26 16:12 [PATCH] tests/kms_cursor_legacy: reduce CI debug output Jeevan B
2026-10-26 19:22 ` ✓ Xe.CI.BAT: success for tests/kms_cursor_legacy: reduce CI debug output (rev2) Patchwork
2026-10-26 20:03 ` ✓ i915.CI.BAT: " Patchwork
2026-10-27  1:22 ` ✗ i915.CI.Full: failure " Patchwork
2026-10-27  1:49 ` ✗ Xe.CI.FULL: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2026-10-26  9:45 [PATCH] tests/kms_cursor_legacy: reduce CI debug output Jeevan B
2026-10-26 11:45 ` Samala, Pranay

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