Re: [PATCH] drm/vmwgfx: Filter modes which exceed graphics memory

2024-04-02 Thread Zack Rusin
On Mon, Apr 1, 2024 at 4:35 PM Ian Forbes wrote: > > SVGA requires individual surfaces to fit within graphics memory > (max_mob_pages) which means that modes with a final buffer size that would > exceed graphics memory must be pruned otherwise creation will fail. > > This fixes an issue where VMs

[PATCH] drm/vmwgfx: Filter modes which exceed graphics memory

2024-04-01 Thread Ian Forbes
SVGA requires individual surfaces to fit within graphics memory (max_mob_pages) which means that modes with a final buffer size that would exceed graphics memory must be pruned otherwise creation will fail. This fixes an issue where VMs with low graphics memory (< 64MiB) configured with high