[Intel-gfx] [PATCH i-g-t 07/11] lib: Update igt_core docs
Daniel Vetter
daniel.vetter at ffwll.ch
Wed Jul 27 12:38:13 UTC 2016
Just missing comment for igt_log_level.
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
lib/igt_core.h | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/lib/igt_core.h b/lib/igt_core.h
index 64d823f6bf48..433b88c9757c 100644
--- a/lib/igt_core.h
+++ b/lib/igt_core.h
@@ -720,7 +720,16 @@ void igt_skip_on_simulation(void);
extern const char *igt_interactive_debug;
-/* structured logging */
+/**
+ * igt_log_level:
+ * @IGT_LOG_DEBUG: debug information, not printed by default
+ * @IGT_LOG_INFO: informational message, printed by default
+ * @IGT_LOG_WARN: non-fatal warnings which should be treated as test failures
+ * @IGT_LOG_CRITICAL: critical errors which lead to immediate termination of tests
+ * @IGT_LOG_NONE: unused
+ *
+ * Log levels used by functions like igt_log().
+ */
enum igt_log_level {
IGT_LOG_DEBUG,
IGT_LOG_INFO,
--
2.8.1
More information about the Intel-gfx
mailing list