From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: Matthew Brost <matthew.brost@intel.com>, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 1/3] drm/xe: Remove used xe_sync_entry_wait
Date: Tue, 27 Feb 2024 11:37:25 +0100 [thread overview]
Message-ID: <fad1ce00bc6d1edd7a518f323082f5a75fb2d165.camel@linux.intel.com> (raw)
In-Reply-To: <20240227024337.141585-2-matthew.brost@intel.com>
On Mon, 2024-02-26 at 18:43 -0800, Matthew Brost wrote:
> xe_sync_entry_wait is no longer used, remove it.
>
> Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.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 aab92bee1d7c..da8799bf7237 100644
> --- a/drivers/gpu/drm/xe/xe_sync.c
> +++ b/drivers/gpu/drm/xe/xe_sync.c
> @@ -198,14 +198,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 f43cdcaca6c5..8c231ce643c4 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,
next prev parent reply other threads:[~2024-02-27 10:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 2:43 [PATCH 0/3] xe_sync and ufence rework Matthew Brost
2024-02-27 2:43 ` [PATCH 1/3] drm/xe: Remove used xe_sync_entry_wait Matthew Brost
2024-02-27 10:37 ` Thomas Hellström [this message]
2024-02-27 2:43 ` [PATCH 2/3] drm/xe: Validate user fence during creation Matthew Brost
2024-02-27 10:41 ` Thomas Hellström
2024-02-27 2:43 ` [PATCH 3/3] drm/xe: Get page on user fence creation Matthew Brost
2024-02-27 11:01 ` Thomas Hellström
2024-02-27 12:38 ` Thomas Hellström
2024-02-27 17:05 ` Matthew Brost
2024-02-27 17:08 ` Matthew Brost
2024-02-27 2:48 ` ✓ CI.Patch_applied: success for xe_sync and ufence rework Patchwork
2024-02-27 2:48 ` ✗ CI.checkpatch: warning " Patchwork
2024-02-27 2:49 ` ✓ CI.KUnit: success " Patchwork
2024-02-27 3:00 ` ✓ CI.Build: " Patchwork
2024-02-27 3:01 ` ✓ CI.Hooks: " Patchwork
2024-02-27 3:02 ` ✓ CI.checksparse: " Patchwork
2024-02-27 3:21 ` ✓ CI.BAT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fad1ce00bc6d1edd7a518f323082f5a75fb2d165.camel@linux.intel.com \
--to=thomas.hellstrom@linux.intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.brost@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox