]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit473c3598cd71dde8836d5fcb5e71dd115a510ab9
treea4882b7f01e7e5808a5023ac9897d289fe8b4e29
parent32be3a2db6dc43be2405042da58e21c114a95d4f
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 <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c