Skip to content

Commit 143d9c3

Browse files
committed
drm/i915: Drop assertion that active->fence is unchanged
We cannot assert the fence is not yet changed as the next thread may change it prior to acquiring our lock. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 2c59fd0 commit 143d9c3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/i915/i915_active.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,6 @@ __i915_active_fence_set(struct i915_active_fence *active,
823823
__list_del_entry(&active->cb.node);
824824
spin_unlock(prev->lock); /* serialise with prev->cb_list */
825825
}
826-
GEM_BUG_ON(rcu_access_pointer(active->fence) != fence);
827826
list_add_tail(&active->cb.node, &fence->cb_list);
828827
spin_unlock_irqrestore(fence->lock, flags);
829828

0 commit comments

Comments
 (0)