From: Thomas Hellstrom Date: Sat, 16 Jan 2010 15:05:05 +0000 (+0100) Subject: drm/vmwgfx: Optimize memory footprint for DMA buffers. X-Git-Tag: v2.6.33-rc6~27^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba5152a3acd5914cade42a1c8c9dc58ad8d1a89;p=pandora-kernel.git drm/vmwgfx: Optimize memory footprint for DMA buffers. Use VRAM whenever there is free space for DMA buffers, but use system GMR memory if using VRAM would cause an eviction. This significantly reduces the guest system memory usage for VMs with a large amount of VRAM allocated. Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed