summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorStephane Marchesin <[email protected]>2006-11-19 21:29:41 +0000
committerStephane Marchesin <[email protected]>2006-11-19 21:29:41 +0000
commit3613eba085dea61d11cda61d1f70bf9824282661 (patch)
treef3ea4fc08665d1ccd7eb68aad083dafdf7c32d51 /src/mesa
parent327e2c9220772724173ae7c53f4215400ed94355 (diff)
Fix the fifo debugging feature.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_fifo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fifo.h b/src/mesa/drivers/dri/nouveau/nouveau_fifo.h
index 39e67176de8..92acc002d98 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_fifo.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_fifo.h
@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "nouveau_context.h"
#include "nouveau_ctrlreg.h"
-//#define NOUVEAU_RING_DEBUG
+#define NOUVEAU_RING_DEBUG
#define NV_READ(reg) *(volatile u_int32_t *)(nmesa->mmio + (reg))
@@ -67,7 +67,7 @@ int i; printf("OUT_RINGp:\n"); for(i=0;i<sz;i+=4) printf(" 0x%8x\n", ptr+sz);
}while(0)
#define OUT_RINGf(n) do { \
- printf("OUT_RINGf: 0x%8x\n", f); \
+ printf("OUT_RINGf: 0x%8x\n", n); \
}while(0)
#else