diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2024-05-27 15:59:11 +0200 |
---|---|---|
committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2024-05-27 21:26:06 +0200 |
commit | 577b83b0f45f7b36d734708f5cad8b35e21ffb7d (patch) | |
tree | 96f7444e4a34371dd5aed92ad78f02f6da70a5c4 /drivers/gpu/drm/xe/xe_lrc.c | |
parent | 0ac7a2c745e8a42803378b944fa0f4455b7240f6 (diff) | |
download | lwn-577b83b0f45f7b36d734708f5cad8b35e21ffb7d.tar.gz lwn-577b83b0f45f7b36d734708f5cad8b35e21ffb7d.zip |
drm/xe: Remove xe_lrc_create_seqno_fence()
It's not used anymore.
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240527135912.152156-5-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_lrc.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_lrc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/drm/xe/xe_lrc.c b/drivers/gpu/drm/xe/xe_lrc.c index c28796cfaa03..e91967070478 100644 --- a/drivers/gpu/drm/xe/xe_lrc.c +++ b/drivers/gpu/drm/xe/xe_lrc.c @@ -1072,17 +1072,6 @@ void xe_lrc_init_seqno_fence(struct xe_lrc *lrc, struct dma_fence *fence) xe_hw_fence_init(fence, &lrc->fence_ctx, __xe_lrc_seqno_map(lrc)); } -struct dma_fence *xe_lrc_create_seqno_fence(struct xe_lrc *lrc) -{ - struct dma_fence *fence = xe_lrc_alloc_seqno_fence(); - - if (IS_ERR(fence)) - return fence; - - xe_lrc_init_seqno_fence(lrc, fence); - return fence; -} - s32 xe_lrc_seqno(struct xe_lrc *lrc) { struct iosys_map map = __xe_lrc_seqno_map(lrc); |