vmwgfx: Fix fb VRAM pinning failure due to fragmentation
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 1 Oct 2010 08:21:51 +0000 (10:21 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Oct 2010 11:08:55 +0000 (21:08 +1000)
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 <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found