瀏覽代碼

drm/i915: Remove a bad BUG_ON in the fence management code.

This could be triggered by a gtt mapping fault on 965 that decides to
remove the fence from another object that happens to be active currently.
Since the other object doesn't rely on the fence reg for its execution, we
don't wait for it to finish.  We'll soon be not waiting on 915 most of the
time as well, so just drop the BUG_ON.

Signed-off-by: Eric Anholt <eric@anholt.net>
Eric Anholt 16 年之前
父節點
當前提交
0e7ddf7eee
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/gpu/drm/i915/i915_gem.c

+ 0 - 3
drivers/gpu/drm/i915/i915_gem.c

@@ -2260,9 +2260,6 @@ try_again:
 			goto try_again;
 		}
 
-		BUG_ON(old_obj_priv->active ||
-		       (reg->obj->write_domain & I915_GEM_GPU_DOMAINS));
-
 		/*
 		 * Zap this virtual mapping so we can set up a fence again
 		 * for this object next time we need it.