summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-10-04 19:30:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-10-04 19:30:06 +0100
commit6b62b9d7c4301457a024f840383fb4515704ebdb (patch)
tree124486bf91862f7abef8afe549af6ed561e6841f
parent6351d8eb823dbfffb4792af8592d1ce565211e23 (diff)
sna: Increase reserved space in batch to accommodate gen5 workaround
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index af6203ca..49ca3d70 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -120,7 +120,7 @@ struct kgem {
struct drm_i915_gem_relocation_entry reloc[384];
};
-#define KGEM_BATCH_RESERVED 2
+#define KGEM_BATCH_RESERVED 4 /* need a bit of extra room for workarounds */
#define KGEM_RELOC_RESERVED 4
#define KGEM_EXEC_RESERVED 1