diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-07-17 07:04:29 -0700 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-07-18 10:17:30 -0700 |
commit | 5e4e1ed6b87b6b3a3531cd8b5cfa9c3b09d841b2 (patch) | |
tree | 31e239ee0e72ada09fb086807f4d0962ddca591c | |
parent | 0fde907da2d5fd4da68845e96c6842497159c858 (diff) | |
download | lwn-5e4e1ed6b87b6b3a3531cd8b5cfa9c3b09d841b2.tar.gz lwn-5e4e1ed6b87b6b3a3531cd8b5cfa9c3b09d841b2.zip |
drm/xe: Remove unused xe_sync_entry_wait
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>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240717140429.1396820-2-matthew.brost@intel.com
-rw-r--r-- | drivers/gpu/drm/xe/xe_sync.c | 8 | ||||
-rw-r--r-- | drivers/gpu/drm/xe/xe_sync.h | 1 |
2 files changed, 0 insertions, 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, |