aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 54bb0d0e49b8..d58ddef468f8 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2314,7 +2314,7 @@ i915_gem_idle(struct drm_device *dev)
2314 while (!list_empty(&dev_priv->mm.flushing_list)) { 2314 while (!list_empty(&dev_priv->mm.flushing_list)) {
2315 struct drm_i915_gem_object *obj_priv; 2315 struct drm_i915_gem_object *obj_priv;
2316 2316
2317 obj_priv = list_first_entry(&dev_priv->mm.active_list, 2317 obj_priv = list_first_entry(&dev_priv->mm.flushing_list,
2318 struct drm_i915_gem_object, 2318 struct drm_i915_gem_object,
2319 list); 2319 list);
2320 obj_priv->obj->write_domain &= ~I915_GEM_GPU_DOMAINS; 2320 obj_priv->obj->write_domain &= ~I915_GEM_GPU_DOMAINS;