aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2009-12-16 13:05:38 -0500
committerDave Airlie <airlied@redhat.com>2010-01-10 23:41:05 -0500
commit69a18c328b762eaec3f8ca3af8c7cbf10b536bf8 (patch)
tree6dcda968d33a75acd649ba271eb27b689b685088
parentc6af6053be60840dcbb037c3798557cbf71cbb08 (diff)
drm/nouveau: No need to force evict=true when swapping evicted BOs back in.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
-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 365fc6508173..73af53fe75a0 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