[PATCH v2] drm: Spelling s/sempahore/semaphore/

Rodrigo Vivi rodrigo.vivi at intel.com
Mon Jul 17 14:59:30 UTC 2023


On Mon, Jul 17, 2023 at 03:23:20PM +0200, Geert Uytterhoeven wrote:
> Fix misspellings of "semaphore".
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> Reviewed-by: Hamza Mahfooz <hamza.mahfooz at amd.com>
> ---
> v2:
>   - Add Reviewed-by.
> ---
>  drivers/gpu/drm/i915/i915_request.c | 2 +-
>  drivers/gpu/drm/radeon/cik.c        | 2 +-
>  drivers/gpu/drm/radeon/r600.c       | 2 +-
>  include/drm/task_barrier.h          | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
> index 894068bb37b6f1b6..32323bb801a139b7 100644
> --- a/drivers/gpu/drm/i915/i915_request.c
> +++ b/drivers/gpu/drm/i915/i915_request.c
> @@ -1220,7 +1220,7 @@ emit_semaphore_wait(struct i915_request *to,
>  	/*
>  	 * If this or its dependents are waiting on an external fence
>  	 * 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.
>  	 */
>  	if (from->sched.flags & I915_SCHED_HAS_EXTERNAL_CHAIN)


Acked-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

to take this through drm-misc

> diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
> index 5819737c21c678d3..5d6b81a6578ef2ba 100644
> --- a/drivers/gpu/drm/radeon/cik.c
> +++ b/drivers/gpu/drm/radeon/cik.c
> @@ -3603,7 +3603,7 @@ void cik_fence_compute_ring_emit(struct radeon_device *rdev,
>   * @rdev: radeon_device pointer
>   * @ring: radeon ring buffer 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
>   * from running ahead of semaphore waits.
> diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
> index 382795a8b3c064ba..a17b95eec65fb810 100644
> --- a/drivers/gpu/drm/radeon/r600.c
> +++ b/drivers/gpu/drm/radeon/r600.c
> @@ -2918,7 +2918,7 @@ void r600_fence_ring_emit(struct radeon_device *rdev,
>   * @rdev: radeon_device pointer
>   * @ring: radeon ring buffer 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
>   * from running ahead of semaphore waits.
> diff --git a/include/drm/task_barrier.h b/include/drm/task_barrier.h
> index 087e3f649c52f02d..217c1cf21c1ab7d5 100644
> --- a/include/drm/task_barrier.h
> +++ b/include/drm/task_barrier.h
> @@ -25,7 +25,7 @@
>  
>  /*
>   * 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/
>   */
>  
>  
> -- 
> 2.34.1
> 


More information about the dri-devel mailing list