summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-05-15 11:18:45 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-05-15 21:11:33 +0100
commit61dd8eec659062eac67823ccd9f2189c3aa36201 (patch)
tree83d24f52555427bf0accf1f71c30c9d8c0f04d73 /lib/igt_debugfs.h
parent24500748e2cc2c4c4e8f3dd037d2da06d4711d35 (diff)
lib: Show other clients when SETMASTER fails
Currently we only show the clients at DEBUG level which is not automatically shown for a SKIP. However, failing to SETMASTER is more often a mistake and we do want to see the other clients. The choice is at what level to show them? If we want to avoid having extra WARNs in CI, we should keep them to INFO, but on the other hand failing to acquire SETMASTER is tantamount to failure, so WARN. References: https://bugs.freedesktop.org/show_bug.cgi?id=110682 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Martin Peres <martin.peres@free.fr> Acked-by: Martin Peres <martin.peres@free.fr>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r--lib/igt_debugfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index f8e57a6b..52520b3c 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -201,6 +201,7 @@ void igt_enable_prefault(void);
* gem buffer objects
*/
int igt_get_stable_obj_count(int driver);
-void igt_debugfs_dump(int device, const char *filename);
+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)
#endif /* __IGT_DEBUGFS_H__ */