intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915/tracepoints: Remove i915_request_execute tracepoint
@ 2018-06-25 17:25 Tvrtko Ursulin
  2018-06-25 17:25 ` [PATCH 2/2] drm/i915/tracepoints: Remove DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option Tvrtko Ursulin
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Tvrtko Ursulin @ 2018-06-25 17:25 UTC (permalink / raw)
  To: Intel-gfx

From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

Long time ago execute was a fence and it made sense to have a tracepoint
corresponding to it. Nowadays it completely aligns either with request_
submit or request_in tracepoints and so is redundant.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
 drivers/gpu/drm/i915/i915_request.c |  2 --
 drivers/gpu/drm/i915/i915_trace.h   | 10 ----------
 2 files changed, 12 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
index e1dbb544046f..8217e19542d9 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -541,8 +541,6 @@ void __i915_request_submit(struct i915_request *request)
 	/* Transfer from per-context onto the global per-engine timeline */
 	move_to_timeline(request, &engine->timeline);
 
-	trace_i915_request_execute(request);
-
 	wake_up_all(&request->execute);
 }
 
diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h
index b50c6b829715..4a6a15075afa 100644
--- a/drivers/gpu/drm/i915/i915_trace.h
+++ b/drivers/gpu/drm/i915/i915_trace.h
@@ -685,11 +685,6 @@ DEFINE_EVENT(i915_request, i915_request_submit,
 	     TP_ARGS(rq)
 );
 
-DEFINE_EVENT(i915_request, i915_request_execute,
-	     TP_PROTO(struct i915_request *rq),
-	     TP_ARGS(rq)
-);
-
 TRACE_EVENT(i915_request_in,
 	    TP_PROTO(struct i915_request *rq, unsigned int port),
 	    TP_ARGS(rq, port),
@@ -763,11 +758,6 @@ trace_i915_request_submit(struct i915_request *rq)
 {
 }
 
-static inline void
-trace_i915_request_execute(struct i915_request *rq)
-{
-}
-
 static inline void
 trace_i915_request_in(struct i915_request *rq, unsigned int port)
 {
-- 
2.17.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2018-09-04  8:56 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-25 17:25 [PATCH 1/2] drm/i915/tracepoints: Remove i915_request_execute tracepoint Tvrtko Ursulin
2018-06-25 17:25 ` [PATCH 2/2] drm/i915/tracepoints: Remove DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option Tvrtko Ursulin
2018-06-25 20:02   ` Chris Wilson
2018-06-26 10:46     ` Tvrtko Ursulin
2018-06-26 10:55       ` Chris Wilson
2018-06-26 11:24         ` Tvrtko Ursulin
2018-06-26 11:48           ` Chris Wilson
2018-08-08 12:13             ` Tvrtko Ursulin
2018-08-08 12:42               ` Chris Wilson
2018-08-08 12:56                 ` Tvrtko Ursulin
2018-08-13  9:54                   ` Joonas Lahtinen
2018-08-13 13:44                     ` Kukanova, Svetlana
2018-08-21 12:06                       ` Joonas Lahtinen
2018-08-22 12:49                         ` Tvrtko Ursulin
2018-08-22 13:02                           ` Tvrtko Ursulin
2018-08-22 13:12                           ` Joonas Lahtinen
2018-08-27 13:37                         ` Kukanova, Svetlana
2018-08-29 14:51                           ` Joonas Lahtinen
2018-09-03 12:22                             ` Kukanova, Svetlana
2018-09-04  8:56                               ` Joonas Lahtinen
2018-06-25 17:52 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/tracepoints: Remove i915_request_execute tracepoint Patchwork
2018-06-25 21:36 ` ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).