Unverified Commit 9bba6b19 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Javier Martinez Canillas
Browse files
parent 48c5c68f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1220,7 +1220,7 @@ emit_semaphore_wait(struct i915_request *to,
	/*
	/*
	 * If this or its dependents are waiting on an external fence
	 * If this or its dependents are waiting on an external fence
	 * that may fail catastrophically, then we want to avoid using
	 * that may fail catastrophically, then we want to avoid using
	 * sempahores as they bypass the fence signaling metadata, and we
	 * semaphores as they bypass the fence signaling metadata, and we
	 * lose the fence->error propagation.
	 * lose the fence->error propagation.
	 */
	 */
	if (from->sched.flags & I915_SCHED_HAS_EXTERNAL_CHAIN)
	if (from->sched.flags & I915_SCHED_HAS_EXTERNAL_CHAIN)
+1 −1
Original line number Original line Diff line number Diff line
@@ -3603,7 +3603,7 @@ void cik_fence_compute_ring_emit(struct radeon_device *rdev,
 * @rdev: radeon_device pointer
 * @rdev: radeon_device pointer
 * @ring: radeon ring buffer object
 * @ring: radeon ring buffer object
 * @semaphore: radeon semaphore object
 * @semaphore: radeon semaphore object
 * @emit_wait: Is this a sempahore wait?
 * @emit_wait: Is this a semaphore wait?
 *
 *
 * Emits a semaphore signal/wait packet to the CP ring and prevents the PFP
 * Emits a semaphore signal/wait packet to the CP ring and prevents the PFP
 * from running ahead of semaphore waits.
 * from running ahead of semaphore waits.
+1 −1
Original line number Original line Diff line number Diff line
@@ -2918,7 +2918,7 @@ void r600_fence_ring_emit(struct radeon_device *rdev,
 * @rdev: radeon_device pointer
 * @rdev: radeon_device pointer
 * @ring: radeon ring buffer object
 * @ring: radeon ring buffer object
 * @semaphore: radeon semaphore object
 * @semaphore: radeon semaphore object
 * @emit_wait: Is this a sempahore wait?
 * @emit_wait: Is this a semaphore wait?
 *
 *
 * Emits a semaphore signal/wait packet to the CP ring and prevents the PFP
 * Emits a semaphore signal/wait packet to the CP ring and prevents the PFP
 * from running ahead of semaphore waits.
 * from running ahead of semaphore waits.
+1 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,7 @@


/*
/*
 * Reusable 2 PHASE task barrier (randevouz point) implementation for N tasks.
 * Reusable 2 PHASE task barrier (randevouz point) implementation for N tasks.
 * Based on the Little book of sempahores - https://greenteapress.com/wp/semaphores/
 * Based on the Little book of semaphores - https://greenteapress.com/wp/semaphores/
 */
 */