novueau: document debug flags

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
main
Karol Herbst 2021-05-05 14:05:52 +02:00
parent 17a51b0b31
commit 91c3eb1700
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@
#include "nouveau.h" #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 uint32_t nouveau_debug;
drm_private extern FILE *nouveau_out; drm_private extern FILE *nouveau_out;
#define dbg_on(lvl) (nouveau_debug & (1 << lvl)) #define dbg_on(lvl) (nouveau_debug & (1 << lvl))