summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Herbst <kherbst@redhat.com>2021-05-05 14:05:52 +0200
committerKarol Herbst <kherbst@redhat.com>2021-05-06 19:41:14 +0200
commit91c3eb17009a07b4df33e4544dc4a75e5f672b44 (patch)
tree3cca9b94756b27f17f97fdee0c4b8b1f3ae8038f
parent17a51b0b31c6e7f0d862fe30d3a3222d152c2966 (diff)
downloaddrm-91c3eb17009a07b4df33e4544dc4a75e5f672b44.tar.gz
novueau: document debug flags
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
-rw-r--r--nouveau/private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nouveau/private.h b/nouveau/private.h
index 55fe57d8..dcc23d16 100644
--- a/nouveau/private.h
+++ b/nouveau/private.h
@@ -11,6 +11,10 @@
#include "nouveau.h"
+/*
+ * 0x00000001 dump all pushbuffers
+ * 0x80000000 if compiled with SIMULATE return -EINVAL for all pb submissions
+ */
drm_private extern uint32_t nouveau_debug;
drm_private extern FILE *nouveau_out;
#define dbg_on(lvl) (nouveau_debug & (1 << lvl))