drm/ttm: Fix swapin regression
authorThomas Hellstrom <thellstrom@vmware.com>
Sat, 21 Dec 2013 21:23:02 +0000 (22:23 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Dec 2013 00:33:07 +0000 (10:33 +1000)
Commit "drm/ttm: Don't move non-existing data" didn't take the
swapped-out corner case into account. This patch corrects that.
Fixes blank screen after attempted suspend / hibernate on vmwgfx.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo_util.c

Simple merge