Commit 8ba5152a authored by Committed by Dave AirlieBrowse files
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 <firstname.lastname@example.org> Signed-off-by: Dave Airlie <email@example.com>