]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6979efd264dddca052c0ff1569531236d820c8d1
tree5613851f2728a14177a9e48c26e07837ebec3bcb
parent82a3f1be5f1a525ec293e2fd5c516572c97c6f00
drm/ttm: Fix swapin regression

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