aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index b4b25e17d4e9..994e9f2d688b 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1979,8 +1979,6 @@ i915_gem_object_unbind(struct drm_gem_object *obj)
1979 * cause memory corruption through use-after-free. 1979 * cause memory corruption through use-after-free.
1980 */ 1980 */
1981 1981
1982 BUG_ON(obj_priv->active);
1983
1984 /* release the fence reg _after_ flushing */ 1982 /* release the fence reg _after_ flushing */
1985 if (obj_priv->fence_reg != I915_FENCE_REG_NONE) 1983 if (obj_priv->fence_reg != I915_FENCE_REG_NONE)
1986 i915_gem_clear_fence_reg(obj); 1984 i915_gem_clear_fence_reg(obj);