summaryrefslogtreecommitdiff
path: root/src/sna/gen3_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-19 20:03:33 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-20 10:10:12 +0000
commit5deba2832dc42072d9abaeaa7934bc0e1b28b3ed (patch)
tree8219a9dc734240967c6898570644187c308c56b2 /src/sna/gen3_render.c
parentf91a24fdba517c8e9df5a074db2c789fbf066bb3 (diff)
sna: Ignore throttling during vertex close
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen3_render.c')
-rw-r--r--src/sna/gen3_render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index 34dcd042..a75efba5 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -1707,7 +1707,8 @@ static void gen3_vertex_close(struct sna *sna)
DBG(("%s: new vbo: %d\n", __FUNCTION__,
sna->render.vertex_used));
bo = kgem_create_linear(&sna->kgem,
- 4*sna->render.vertex_used, 0);
+ 4*sna->render.vertex_used,
+ CREATE_NO_THROTTLE);
if (bo) {
assert(bo->snoop == false);
kgem_bo_write(&sna->kgem, bo,