From: Francisco Jerez Date: Wed, 16 Dec 2009 18:05:38 +0000 (+0100) Subject: drm/nouveau: No need to force evict=true when swapping evicted BOs back in. X-Git-Tag: 2.1b_release~8485^2~84^2~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27f691a69d411b9b2093163cdd27780f9c927422;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git drm/nouveau: No need to force evict=true when swapping evicted BOs back in. Signed-off-by: Francisco Jerez --- diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 365fc65..73af53f 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, if (ret) goto out; - ret = nouveau_bo_move_m2mf(bo, true, intr, no_wait, new_mem); + ret = nouveau_bo_move_m2mf(bo, evict, intr, no_wait, new_mem); if (ret) goto out;