|
@@ -3556,8 +3556,7 @@ i915_gem_object_unpin_from_display_plane(struct i915_vma *vma)
|
|
|
vma->display_alignment = I915_GTT_MIN_ALIGNMENT;
|
|
vma->display_alignment = I915_GTT_MIN_ALIGNMENT;
|
|
|
|
|
|
|
|
/* Bump the LRU to try and avoid premature eviction whilst flipping */
|
|
/* Bump the LRU to try and avoid premature eviction whilst flipping */
|
|
|
- if (!i915_vma_is_active(vma))
|
|
|
|
|
- list_move_tail(&vma->vm_link, &vma->vm->inactive_list);
|
|
|
|
|
|
|
+ i915_gem_object_bump_inactive_ggtt(vma->obj);
|
|
|
|
|
|
|
|
i915_vma_unpin(vma);
|
|
i915_vma_unpin(vma);
|
|
|
}
|
|
}
|