]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/xe: Remove xe_lrc_create_seqno_fence()
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 27 May 2024 13:59:11 +0000 (15:59 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 27 May 2024 19:26:06 +0000 (21:26 +0200)
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
drivers/gpu/drm/xe/xe_lrc.c
drivers/gpu/drm/xe/xe_lrc.h

index c28796cfaa030e6db541a78e4ad7bdb35f69790d..e9196707047829b48e404ffe4c1490284e5a63a5 100644 (file)
@@ -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);
index 7a8752fd84840566cad08de9177423d735a0dd67..c2df6bfd1889954be0bea005d9df4ed96ba9f113 100644 (file)
@@ -47,7 +47,6 @@ u32 xe_lrc_seqno_ggtt_addr(struct xe_lrc *lrc);
 struct dma_fence *xe_lrc_alloc_seqno_fence(void);
 void xe_lrc_free_seqno_fence(struct dma_fence *fence);
 void xe_lrc_init_seqno_fence(struct xe_lrc *lrc, struct dma_fence *fence);
-struct dma_fence *xe_lrc_create_seqno_fence(struct xe_lrc *lrc);
 s32 xe_lrc_seqno(struct xe_lrc *lrc);
 
 u32 xe_lrc_start_seqno_ggtt_addr(struct xe_lrc *lrc);