diff mbox

[2/3] drm/i915: Don't update fence mru upon end-of-flush

Message ID 1270416921-25483-2-git-send-email-chris@chris-wilson.co.uk (mailing list archive)
State Deferred, archived
Headers show

Commit Message

Chris Wilson April 4, 2010, 9:35 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index c148170..8f7b3c3 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1563,11 +1563,6 @@  i915_gem_process_flushing_list(struct drm_device *dev,
 			list_del_init(&obj_priv->gpu_write_list);
 			i915_gem_object_move_to_active(obj, seqno);
 
-			/* update the fence lru list */
-			if (obj_priv->fence_reg != I915_FENCE_REG_NONE)
-				list_move_tail(&obj_priv->fence_list,
-						&dev_priv->mm.fence_list);
-
 			trace_i915_gem_object_change_domain(obj,
 							    obj->read_domains,
 							    old_write_domain);