[PATCH 2/2] drm/xe: Remove used xe_sync_entry_wait

Nirmoy Das nirmoy.das at linux.intel.com
Wed Jul 17 14:41:10 UTC 2024


On 7/17/2024 4:04 PM, Matthew Brost wrote:
> xe_sync_entry_wait is no longer used, remove it.
>
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>

Reviewed-by: Nirmoy Das <nirmoy.das at intel.com>


> ---
>   drivers/gpu/drm/xe/xe_sync.c | 8 --------
>   drivers/gpu/drm/xe/xe_sync.h | 1 -
>   2 files changed, 9 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_sync.c b/drivers/gpu/drm/xe/xe_sync.c
> index f2e5e3c8c0cd..533246f42256 100644
> --- a/drivers/gpu/drm/xe/xe_sync.c
> +++ b/drivers/gpu/drm/xe/xe_sync.c
> @@ -204,14 +204,6 @@ int xe_sync_entry_parse(struct xe_device *xe, struct xe_file *xef,
>   	return 0;
>   }
>   
> -int xe_sync_entry_wait(struct xe_sync_entry *sync)
> -{
> -	if (sync->fence)
> -		dma_fence_wait(sync->fence, true);
> -
> -	return 0;
> -}
> -
>   int xe_sync_entry_add_deps(struct xe_sync_entry *sync, struct xe_sched_job *job)
>   {
>   	int err;
> diff --git a/drivers/gpu/drm/xe/xe_sync.h b/drivers/gpu/drm/xe/xe_sync.h
> index 006dbf780793..256ffc1e54dc 100644
> --- a/drivers/gpu/drm/xe/xe_sync.h
> +++ b/drivers/gpu/drm/xe/xe_sync.h
> @@ -22,7 +22,6 @@ int xe_sync_entry_parse(struct xe_device *xe, struct xe_file *xef,
>   			struct xe_sync_entry *sync,
>   			struct drm_xe_sync __user *sync_user,
>   			unsigned int flags);
> -int xe_sync_entry_wait(struct xe_sync_entry *sync);
>   int xe_sync_entry_add_deps(struct xe_sync_entry *sync,
>   			   struct xe_sched_job *job);
>   void xe_sync_entry_signal(struct xe_sync_entry *sync,


More information about the Intel-xe mailing list