commit | 5bb39e818169783ee17ddbbefbd7bd16a4383fec | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Tue Oct 04 20:13:33 2011 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Wed Oct 05 10:17:31 2011 +0100 |
tree | a4af9f982e0c75e19b7e31bfdbaebc30e25b0bdc | |
parent | 90ff18bc3a1ff56e3948ccf7ae4031b8e9662981 [diff] |
vmwgfx: Handle device surface memory limit 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 <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>