summaryrefslogtreecommitdiff
path: root/tools/null_state_gen
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@intel.com>2014-10-09 18:39:05 +0300
committerMika Kuoppala <mika.kuoppala@intel.com>2014-10-09 19:15:11 +0300
commita1f847cba91b9e542e37bb80895d8f8909319dd3 (patch)
tree70edce009be1700a4b5c48d4829a114df195ea99 /tools/null_state_gen
parentb498d81f152760b2a58d53ac3acb5269f44a253d (diff)
tools/null_state_gen: Limit the total state len to 4096 bytes
Currently our kernel side buffer object is only one page. Limit the amount of dwords to 1024 to enforce this. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'tools/null_state_gen')
-rw-r--r--tools/null_state_gen/intel_batchbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/null_state_gen/intel_batchbuffer.h b/tools/null_state_gen/intel_batchbuffer.h
index e44c5c9a..f10831cb 100644
--- a/tools/null_state_gen/intel_batchbuffer.h
+++ b/tools/null_state_gen/intel_batchbuffer.h
@@ -34,7 +34,7 @@
#include <stdint.h>
#define MAX_RELOCS 64
-#define MAX_ITEMS 4096
+#define MAX_ITEMS 1024
#define MAX_STRLEN 256
#define ALIGN(x, y) (((x) + (y)-1) & ~((y)-1))