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 <email@example.com> Signed-off-by: Dave Airlie <firstname.lastname@example.org>