projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
637ed52
)
svga: Temporarily disable buffer DMA upload coalescing.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 3 Feb 2011 15:14:59 +0000
(15:14 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 3 Feb 2011 15:15:23 +0000
(15:15 +0000)
See comment for more details.
src/gallium/drivers/svga/svga_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_draw.c
b/src/gallium/drivers/svga/svga_draw.c
index 2c873a0f7ac276fc65ccb80c0c12df6ef20fecb2..051ac1c6546ea82cf391f33e7b9ee8f6fee7c895 100644
(file)
--- a/
src/gallium/drivers/svga/svga_draw.c
+++ b/
src/gallium/drivers/svga/svga_draw.c
@@
-224,6
+224,13
@@
svga_hwtnl_flush( struct svga_hwtnl *hwtnl )
hwtnl->cmd.prim_count = 0;
}
+ /*
+ * FIXME: Somehow we are accumulating too many buffer uploads without
+ * flushing, so temporarily disable buffer upload coalescing to prevent OOM
+ * crashes (at expense of less performance).
+ */
+ svga_context_flush_buffers(svga);
+
return PIPE_OK;
}