[PATCH i-g-t v1 1/2] tests/intel/xe_eudebug: Reduce debug loglevel
Jan Sokolowski
jan.sokolowski at intel.com
Thu Jul 10 08:09:28 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_eudebug.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/intel/xe_eudebug.c b/tests/intel/xe_eudebug.c
index d2a1932fb..4a2c43635 100644
--- a/tests/intel/xe_eudebug.c
+++ b/tests/intel/xe_eudebug.c
@@ -20,6 +20,7 @@
#include <sys/prctl.h>
#include "igt.h"
+#include "igt_sysfs.h"
#include "intel_pat.h"
#include "lib/igt_syncobj.h"
#include "xe/xe_eudebug.h"
@@ -2800,6 +2801,9 @@ igt_main
igt_fixture {
fd = drm_open_driver(DRIVER_XE);
was_enabled = xe_eudebug_enable(fd, true);
+
+ igt_install_exit_handler(igt_drm_debug_mask_reset_exit_handler);
+ update_debug_mask_if_ci(DRM_UT_KMS);
}
igt_subtest("sysfs-toggle")
--
2.34.1
More information about the igt-dev
mailing list