mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Remove unused userptr rebind tracepoints
@ 2026-11-25 10:58 Torra Sowmya
  0 siblings, 0 replies; only message in thread
From: Torra Sowmya @ 2026-11-25 10:58 UTC (permalink / raw)
  To: matthew.brost, thomas.hellstrom, rodrigo.vivi
  Cc: airlied, simona, intel-xe, dri-devel, linux-kernel

The xe_vma_userptr_rebind_worker and xe_vma_userptr_rebind_exec
events were introduced without callers. Their definitions were
later moved to xe_trace_bo.h, but remain unused.

Remove both definitions while retaining the shared xe_vma event
class and the other events that use it.

With the tested x86-64 configuration, size reports a reduction of
936 bytes in xe_trace_bo.o, from 24146 to 23210 bytes: 344 bytes
in text and 592 bytes in data.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Torra Sowmya <sowmyatorra@gmail.com>
---
 drivers/gpu/drm/xe/xe_trace_bo.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_trace_bo.h b/drivers/gpu/drm/xe/xe_trace_bo.h
index 36fc7eb65882..8be08d527ea5 100644
--- a/drivers/gpu/drm/xe/xe_trace_bo.h
+++ b/drivers/gpu/drm/xe/xe_trace_bo.h
@@ -150,16 +150,6 @@ DEFINE_EVENT(xe_vma, xe_vma_unbind,
 	     TP_ARGS(vma)
 );
 
-DEFINE_EVENT(xe_vma, xe_vma_userptr_rebind_worker,
-	     TP_PROTO(struct xe_vma *vma),
-	     TP_ARGS(vma)
-);
-
-DEFINE_EVENT(xe_vma, xe_vma_userptr_rebind_exec,
-	     TP_PROTO(struct xe_vma *vma),
-	     TP_ARGS(vma)
-);
-
 DEFINE_EVENT(xe_vma, xe_vma_rebind_worker,
 	     TP_PROTO(struct xe_vma *vma),
 	     TP_ARGS(vma)
-- 
2.47.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-25 10:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 10:58 [PATCH] drm/xe: Remove unused userptr rebind tracepoints Torra Sowmya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®