diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_draw.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_draw.c b/src/gallium/drivers/svga/svga_draw.c index 2c873a0f7a..051ac1c654 100644 --- 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; } |