From: Thomas Hellstrom Date: Fri, 1 Oct 2010 08:21:51 +0000 (+0200) Subject: vmwgfx: Fix fb VRAM pinning failure due to fragmentation X-Git-Tag: v2.6.36-rc7~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abb295f3b3db602f91accf58b526b30b48673af1;p=pandora-kernel.git vmwgfx: Fix fb VRAM pinning failure due to fragmentation If the soon-to-be scanout buffer is partly covering the intended VRAM region, move and pin will fail. In that case, just move it out to system before attempting to move it in again. Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed