Skip to content

Commit

Permalink
drm/xe: Remove xe_lrc_create_seqno_fence()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Hellström committed May 27, 2024
1 parent 0ac7a2c commit 577b83b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions drivers/gpu/drm/xe/xe_lrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/xe/xe_lrc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 577b83b

Please sign in to comment.