svga: Break uploads of big buffers into smaller pieces.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 18 Feb 2010 16:40:14 +0000 (16:40 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 22 Feb 2010 21:46:40 +0000 (21:46 +0000)
commit2452921e5adb56a3d99e52fb2b963fcd2a0b75e9
tree3314f3c2da15088d0d55dacfa49a5abac440d860
parent3a6e581f2f56097aa1b17a131b818a70a888cd98
svga: Break uploads of big buffers into smaller pieces.

Fixes crash in Homeworld2 which tries to create a 14MB buffer, because we
now avoid creating GMR buffers larger than 8MB to ensure progress given
we have only a 16MB pool.
src/gallium/drivers/svga/svga_screen_buffer.c
src/gallium/drivers/svga/svga_screen_buffer.h