[PATCH i-g-t v1 2/2] tests/intel/xe_pm: Reduce debug loglevel

Jan Sokolowski jan.sokolowski at intel.com
Thu Jul 10 08:09:29 UTC 2025


This test exceeds disk usage limit on CI environment
due to logging too many logs.

Reduce the debug log level to a CI-friendly value
if it's bigger than that.

Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com>
---
 tests/intel/xe_pm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 7e9324eec..16b5fc686 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -826,6 +826,9 @@ igt_main
 		igt_assert(igt_setup_runtime_pm(device.fd_xe));
 		sysfs_fd = igt_sysfs_open(device.fd_xe);
 		device.res = drmModeGetResources(device.fd_xe);
+
+		igt_install_exit_handler(igt_drm_debug_mask_reset_exit_handler);
+		update_debug_mask_if_ci(DRM_UT_KMS);
 	}
 
 	for (const struct s_state *s = s_states; s->name; s++) {
-- 
2.34.1



More information about the igt-dev mailing list