summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915/intel_batchbuffer.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-10-04 15:31:47 +1000
committerDave Airlie <airlied@redhat.com>2007-10-04 15:31:47 +1000
commitc4a9a708884c2f790e04aaaa4a4cb2993ff33089 (patch)
treeb826038cd00886d3bbebef542ab7b39666a83b33 /src/mesa/drivers/dri/i915/intel_batchbuffer.h
parentfa031c8914d685e153b4ab886f43fdbfbbd0a30b (diff)
i915: add superioctl support to the ttm codepaths.
gears now runs for about 10-15 seconds with some artifacts before falling over.
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_batchbuffer.h')
-rw-r--r--src/mesa/drivers/dri/i915/intel_batchbuffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_batchbuffer.h b/src/mesa/drivers/dri/i915/intel_batchbuffer.h
index b5c7a783a7..b5934e3c9f 100644
--- a/src/mesa/drivers/dri/i915/intel_batchbuffer.h
+++ b/src/mesa/drivers/dri/i915/intel_batchbuffer.h
@@ -7,7 +7,8 @@
struct intel_context;
-#define BATCH_SZ 16384
+//#define BATCH_SZ 16384
+#define BATCH_SZ 4096
#define BATCH_RESERVED 16
#define INTEL_BATCH_NO_CLIPRECTS 0x1