From: Matthew Brost <matthew.brost@intel.com>
To: <intel-xe@lists.freedesktop.org>
Cc: dri-devel@lists.freedesktop.org,
"Matthew Brost" <matthew.brost@intel.com>,
"Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Subject: [PATCH v3 1/4] drm/xe: Remove used xe_sync_entry_wait
Date: Fri, 1 Mar 2024 14:49:16 -0800 [thread overview]
Message-ID: <20240301224919.271153-2-matthew.brost@intel.com> (raw)
In-Reply-To: <20240301224919.271153-1-matthew.brost@intel.com>
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 02c9577fe418..c836a5f3a1ea 100644
--- a/drivers/gpu/drm/xe/xe_sync.c
+++ b/drivers/gpu/drm/xe/xe_sync.c
@@ -200,14 +200,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 0fd0d51208e6..cb88715ac9af 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,
--
2.34.1
next prev parent reply other threads:[~2024-03-01 22:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 22:49 [PATCH v3 0/4] xe_sync and ufence rework Matthew Brost
2024-03-01 22:49 ` Matthew Brost [this message]
2024-03-01 22:49 ` [PATCH v3 2/4] drm/xe: Validate user fence during creation Matthew Brost
2024-03-01 22:49 ` [PATCH v3 3/4] drm/xe: Get page on user fence creation Matthew Brost
2024-03-01 22:49 ` [PATCH v3 4/4] drm/xe: Use get_user / put_user with memory barriers for ufence Matthew Brost
2024-03-01 22:53 ` ✓ CI.Patch_applied: success for xe_sync and ufence rework (rev3) Patchwork
2024-03-01 22:53 ` ✗ CI.checkpatch: warning " Patchwork
2024-03-01 22:54 ` ✓ CI.KUnit: success " Patchwork
2024-03-01 23:05 ` ✓ CI.Build: " Patchwork
2024-03-01 23:06 ` ✓ CI.Hooks: " Patchwork
2024-03-01 23:07 ` ✓ CI.checksparse: " Patchwork
2024-03-01 23:26 ` ✓ 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=20240301224919.271153-2-matthew.brost@intel.com \
--to=matthew.brost@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=thomas.hellstrom@linux.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