[PATCH 23/26] vmwgfx: Handle device surface memory limit

2011-10-04 Thread Thomas Hellstrom
Make surfaces swappable. Make sure we honor the maximum amount of surface memory the device accepts. This is done by potentially reading back surface contents not used by the current command submission and storing it locally in buffer objects. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob

[PATCH 23/26] vmwgfx: Handle device surface memory limit

2011-10-04 Thread Thomas Hellstrom
Make surfaces swappable. Make sure we honor the maximum amount of surface memory the device accepts. This is done by potentially reading back surface contents not used by the current command submission and storing it locally in buffer objects. Signed-off-by: Thomas Hellstrom thellst...@vmware.com