aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_bo.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2009-12-16 13:05:38 -0500
committerBen Skeggs <bskeggs@redhat.com>2010-01-10 18:06:31 -0500
commit27f691a69d411b9b2093163cdd27780f9c927422 (patch)
tree7cd0a2f9998bf6ecb381d1678fa708b4e7a817e8 /drivers/gpu/drm/nouveau/nouveau_bo.c
parent77e2b5ed83864f0a58e2cd046b15aab6865babfb (diff)
drm/nouveau: No need to force evict=true when swapping evicted BOs back in.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bo.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c
index 365fc650817..73af53fe75a 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bo.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bo.c
@@ -634,7 +634,7 @@ nouveau_bo_move_flips(struct ttm_buffer_object *bo, bool evict, bool intr,
634 if (ret) 634 if (ret)
635 goto out; 635 goto out;
636 636
637 ret = nouveau_bo_move_m2mf(bo, true, intr, no_wait, new_mem); 637 ret = nouveau_bo_move_m2mf(bo, evict, intr, no_wait, new_mem);
638 if (ret) 638 if (ret)
639 goto out; 639 goto out;
640 640