Skip to content

Commit

Permalink
drm/nouveau: No need to force evict=true when swapping evicted BOs ba…
Browse files Browse the repository at this point in the history
…ck in.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Jan 10, 2010
1 parent 77e2b5e commit 27f691a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 27f691a

Please sign in to comment.