summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_winsys.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-09-18 20:52:44 +0200
committerChristoph Bumiller <[email protected]>2010-09-18 20:53:53 +0200
commit613c3901c3cb748d7ef0bc3162ce3fcb986e9047 (patch)
treeb5d3fea825c29b697c7885ed257c6e560f0f875b /src/gallium/drivers/nouveau/nouveau_winsys.h
parentdbd24805071332a06828bd92ed0f6e49c897c146 (diff)
nv50: fix typo in fifo packet length limit
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_winsys.h')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_winsys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h
index c9003c97f5d..ab480cabd09 100644
--- a/src/gallium/drivers/nouveau/nouveau_winsys.h
+++ b/src/gallium/drivers/nouveau/nouveau_winsys.h
@@ -12,6 +12,10 @@
#include "nouveau/nouveau_resource.h"
#include "nouveau/nouveau_pushbuf.h"
+#ifndef NV04_PFIFO_MAX_PACKET_LEN
+#define NV04_PFIFO_MAX_PACKET_LEN 2047
+#endif
+
static INLINE uint32_t
nouveau_screen_transfer_flags(unsigned pipe)
{