From: Thomas Hellstrom Date: Tue, 4 Oct 2011 18:13:33 +0000 (+0200) Subject: vmwgfx: Handle device surface memory limit X-Git-Tag: v3.2-rc1~135^2~56^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb39e818169783ee17ddbbefbd7bd16a4383fec;p=pandora-kernel.git 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 Reviewed-by: Jakob Bornecrantz Signed-off-by: Dave Airlie --- Reading git-diff-tree failed