summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2024-09-18 09:16:57 +0300
committerChristian König <christian.koenig@amd.com>2025-03-06 17:20:53 +0300
commit2ce07fea3cc8b866f7955a7ce1d62b0cc1f74819 (patch)
treefdede4b09554881681a598cfc6498924335af868 /include/linux
parent2b2d7ca7ce25fbec8389e7d85e57742caa47c97d (diff)
downloadlinux-2ce07fea3cc8b866f7955a7ce1d62b0cc1f74819.tar.xz
dma-buf/dma-fence: remove unnecessary callbacks
The fence_value_str and timeline_value_str callbacks were just an unnecessary abstraction in the SW sync implementation. The only caller of those callbacks already knew that the fence in questions is a timeline_fence. So print the values directly instead of using a redirection. Additional to that remove the implementations from virtgpu and vgem. As far as I can see those were never used in the first place. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20250211163109.12200-3-christian.koenig@amd.com
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dma-fence.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h
index 52587d390aca..b12776883d14 100644
--- a/include/linux/dma-fence.h
+++ b/include/linux/dma-fence.h
@@ -239,27 +239,6 @@ struct dma_fence_ops {
void (*release)(struct dma_fence *fence);
/**
- * @fence_value_str:
- *
- * Callback to fill in free-form debug info specific to this fence, like
- * the sequence number.
- *
- * This callback is optional.
- */
- void (*fence_value_str)(struct dma_fence *fence, char *str, int size);
-
- /**
- * @timeline_value_str:
- *
- * Fills in the current value of the timeline as a string, like the
- * sequence number. Note that the specific fence passed to this function
- * should not matter, drivers should only use it to look up the
- * corresponding timeline structures.
- */
- void (*timeline_value_str)(struct dma_fence *fence,
- char *str, int size);
-
- /**
* @set_deadline:
*
* Callback to allow a fence waiter to inform the fence signaler of