diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-19 20:03:33 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-20 10:10:12 +0000 |
commit | 5deba2832dc42072d9abaeaa7934bc0e1b28b3ed (patch) | |
tree | 8219a9dc734240967c6898570644187c308c56b2 /src/sna/gen4_render.c | |
parent | f91a24fdba517c8e9df5a074db2c789fbf066bb3 (diff) |
sna: Ignore throttling during vertex close
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_render.c')
-rw-r--r-- | src/sna/gen4_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c index d6ba3466..3f120623 100644 --- a/src/sna/gen4_render.c +++ b/src/sna/gen4_render.c @@ -347,7 +347,8 @@ static void gen4_vertex_close(struct sna *sna) sna->kgem.nbatch += sna->render.vertex_used; } else { bo = kgem_create_linear(&sna->kgem, - 4*sna->render.vertex_used, 0); + 4*sna->render.vertex_used, + CREATE_NO_THROTTLE); if (bo && !kgem_bo_write(&sna->kgem, bo, sna->render.vertex_data, 4*sna->render.vertex_used)) { |