[PATCH i-g-t 6/8] debug -> info
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Wed Jul 13 10:35:04 UTC 2022
---
lib/igt_debugfs.h | 2 +-
tests/i915/gem_ppgtt.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 37e85067b6..8282f5374f 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -226,6 +226,6 @@ static inline void rcu_barrier(int fd)
*/
int igt_get_stable_obj_count(int driver);
void __igt_debugfs_dump(int device, const char *filename, int level);
-#define igt_debugfs_dump(d, f) __igt_debugfs_dump(d, f, IGT_LOG_DEBUG)
+#define igt_debugfs_dump(d, f) __igt_debugfs_dump(d, f, IGT_LOG_INFO)
#endif /* __IGT_DEBUGFS_H__ */
diff --git a/tests/i915/gem_ppgtt.c b/tests/i915/gem_ppgtt.c
index f09ce261a8..576a4098da 100644
--- a/tests/i915/gem_ppgtt.c
+++ b/tests/i915/gem_ppgtt.c
@@ -47,6 +47,7 @@
static void dump_file(const char *info, const char *filename, int lines)
{
+#if 0
FILE *file;
size_t n = 0;
char *line = NULL;
@@ -60,6 +61,7 @@ static void dump_file(const char *info, const char *filename, int lines)
free(line);
fclose(file);
+#endif
}
static struct intel_buf *create_bo(struct buf_ops *bops, uint32_t pixel)
--
2.34.1
More information about the Intel-gfx-trybot
mailing list