commit | 8ba5152a3acd5914cade42a1c8c9dc58ad8d1a89 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Sat Jan 16 16:05:05 2010 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Mon Jan 25 16:04:39 2010 +1000 |
tree | 7e5433d4d03d753a152a9e1eec5c6e4c6958709a | |
parent | 0eaddb28d3460f13102cd82cf58af875bfb1bd53 [diff] |
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 <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>