Hi,

This disables buffer moves between VRAM and GTT by setting both of them as 
preferred heaps for APUs and IGPs.

Allocations go to VRAM if there is free space. If not, they go to GTT. If a 
buffer is evicted from VRAM to GTT, it will stay there. If it's evicted from 
GTT to swap, it can later be moved to either VRAM or GTT (whichever has free 
space).

Tonga with 128 MB VRAM (decreased for testing) is 2x faster in Heaven (1600x900 
Ultra noAA) if I force has_dedicated_vram=false in Mesa, leading to literally 0 
buffer evictions.

Please review.

Marek
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to