Tracepoints cleanup and improvements for requests
Subsystems (2)
Tvrtko Ursulin
maintainercover Tracepoints cleanup and improvements for requests
From: Tvrtko Ursulin <[email protected]>
During some performance analysis I have noticed that currently our trace points are in a bit of a mess, especially the ones relating to requests.
This series attempts to tidy some of that and also adds some new trace points.
These new trace points are usable to analyze the engine utilization and also look at how the scheduler resolves dependencies and fences, how much time requests spend being blocked, and so on.
With some post-processing the new trace points can be used to generate request and engine timeline graphs like for example the on on this URL:
https://people.freedesktop.org/~tursulin/trace-demo.html
If people find this interesting we could also merge the post-processing tool to IGT. Although ideally, someone more versed in GUI development could pick up on the general idea an implement something better than the not very scalable or precise JS library I have used to prototype this.
Current way of getting to the graphs is essentially:
perf record -e <list-of-events> -a -c 1 binary-to-be-traced perf script | trace.pl >output.html
Tvrtko
Tvrtko Ursulin (8):
drm/i915/tracepoints: Tidy request event class drm/i915/tracepoints: Adjust i915_gem_ring_dispatch drm/i915/tracepoints: Tidy i915_gem_request_wait_begin drm/i915/tracepoints: Remove unused i915_gem_request_complete drm/i915/tracepoints: Add request submit and execute tracepoints drm/i915/tracepoints: Rename i915_gem_request_notify drm/i915/tracepoints: Add backend level request in and out tracepoints drm/i915/tracepoints: Add hw_id to context tracepoints
drivers/gpu/drm/i915/Kconfig.debug | 11 +++ drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 +- drivers/gpu/drm/i915/i915_gem_request.c | 2 + drivers/gpu/drm/i915/i915_guc_submission.c | 2 + drivers/gpu/drm/i915/i915_irq.c | 2 +- drivers/gpu/drm/i915/i915_trace.h | 122 ++++++++++++++++++++++++----- drivers/gpu/drm/i915/intel_lrc.c | 4 + 7 files changed, 124 insertions(+), 23 deletions(-)
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerRFC 1/8 drm/i915/tracepoints: Tidy request event class
From: Tvrtko Ursulin <[email protected]>
At the moment only the global seqno is logged which is not set until the request is ready for submission.
Add the per-contex seqno and the context hardware id which are both interesting data points.
--- drivers/gpu/drm/i915/i915_trace.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/i915_trace.h +8 -3
@@ -555,18 +555,23 @@ DECLARE_EVENT_CLASS(i915_gem_request,TP_STRUCT__entry (__field (u32 ,dev ) +__field (u32, ctx)__field (u32, ring)__field (u32, seqno) +__field (u32, global) ),TP_fast_assign ( __entry->dev = req->i915->drm.primary->index; + __entry->ctx = req->ctx->hw_id; __entry->ring = req->engine->id; - __entry->seqno = req->global_seqno; + __entry->seqno = req->fence.seqno; + __entry->global = req->global_seqno; ), -TP_printk ("dev=%u, ring=%u, seqno=%u" , - __entry->dev, __entry->ring, __entry->seqno) +TP_printk ("dev=%u, ring=%u, ctx=%u, seqno=%u, global=%u" , + __entry->dev, __entry->ring, __entry->ctx, __entry->seqno, + __entry->global) ); DEFINE_EVENT(i915_gem_request, i915_gem_request_add,
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerRFC 2/8 drm/i915/tracepoints: Adjust i915_gem_ring_dispatch
In reply to Tvrtko UrsulinFrom: Tvrtko Ursulin <[email protected]>
Rename it to i915_gem_request_queue and fix the logged info equivalent to the i915_gem_request even class. Also moved it a bit further apart from the i915_gem_request_add tracepoint since they otherwise provide similar information too close in time.
--- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 ++-- drivers/gpu/drm/i915/i915_trace.h | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/i915_gem_execbuffer.c +2 -2
@@ -1492,8 +1492,6 @@ execbuf_submit(struct i915_execbuffer_params *params,if (ret)return ret; -trace_i915_gem_ring_dispatch (params->request, params->dispatch_flags); -i915_gem_execbuffer_move_to_active (vmas, params->request);return 0 ;
@@ -1803,6 +1801,8 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data, params->dispatch_flags = dispatch_flags; params->ctx = ctx; +trace_i915_gem_request_queue (params->request, dispatch_flags); + ret =execbuf_submit (params, args, &eb->vmas); err_request:__i915_add_request (params->request, ret ==0 );
drivers/gpu/drm/i915/i915_trace.h +7 -4
@@ -503,13 +503,14 @@ TRACE_EVENT(i915_gem_ring_sync_to, __entry->seqno) ); -TRACE_EVENT(i915_gem_ring_dispatch, +TRACE_EVENT(i915_gem_request_queue, TP_PROTO(struct drm_i915_gem_request *req, u32 flags), TP_ARGS(req, flags), TP_STRUCT__entry( __field(u32, dev) __field(u32, ring) + __field(u32, ctx) __field(u32, seqno) __field(u32, flags) ),
@@ -517,13 +518,15 @@ TRACE_EVENT(i915_gem_ring_dispatch,TP_fast_assign ( __entry->dev = req->i915->drm.primary->index; __entry->ring = req->engine->id; - __entry->seqno = req->global_seqno; + __entry->ctx = req->ctx->hw_id; + __entry->seqno = req->fence.seqno; __entry->flags = flags;dma_fence_enable_sw_signaling (&req->fence); ), -TP_printk ("dev=%u, ring=%u, seqno=%u, flags=%x" , - __entry->dev, __entry->ring, __entry->seqno, __entry->flags) +TP_printk ("dev=%u, ring=%u, ctx=%u, seqno=%u, flags=%x" , + __entry->dev, __entry->ring, __entry->ctx, __entry->seqno, + __entry->flags) ); TRACE_EVENT(i915_gem_ring_flush,
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 2/8] drm/i915/tracepoints: Adjust i915_gem_ring_dispatch
Quoted 57 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
Rename it to
i915_gem_request_queueand fix the logged info equivalent to thei915_gem_requesteven class. Also moved it a bit further apart from thei915_gem_request_addtracepoint since they otherwise provide similar information too close in time.Signed-off-by Tvrtko Ursulin <[email protected]>--- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 ++-- drivers/gpu/drm/i915/i915_trace.h | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-)drivers/gpu/drm/i915/i915_gem_execbuffer.c +2
-2@@ -1492,8 +1492,6 @@ execbuf_submit(struct i915_execbuffer_params *params,if (ret)return ret; -trace_i915_gem_ring_dispatch (params->request, params->dispatch_flags); -i915_gem_execbuffer_move_to_active (vmas, params->request);return 0 ;@@ -1803,6 +1801,8 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data, params->dispatch_flags = dispatch_flags; params->ctx = ctx; +trace_i915_gem_request_queue (params->request, dispatch_flags); + ret =execbuf_submit (params, args, &eb->vmas); err_request:__i915_add_request (params->request, ret ==0 );drivers/gpu/drm/i915/i915_trace.h +2
-1@@ -503,13 +503,14 @@ TRACE_EVENT(i915_gem_ring_sync_to, __entry->seqno) ); -TRACE_EVENT(i915_gem_ring_dispatch, +TRACE_EVENT(i915_gem_request_queue, TP_PROTO(struct drm_i915_gem_request *req, u32 flags), TP_ARGS(req, flags), TP_STRUCT__entry( __field(u32, dev) __field(u32, ring) + __field(u32, ctx) __field(u32, seqno) __field(u32, flags) ),
drivers/gpu/drm/i915/i915_trace.h TRACE_EVENT(i915_gem_ring_dispatch, · line 524
Quoted 8 lines
drivers/gpu/drm/i915/i915_trace.h +2
-1@@ -517,13 +518,15 @@ TRACE_EVENT(i915_gem_ring_dispatch,TP_fast_assign ( __entry->dev = req->i915->drm.primary->index; __entry->ring = req->engine->id; - __entry->seqno = req->global_seqno; + __entry->ctx = req->ctx->hw_id; + __entry->seqno = req->fence.seqno; __entry->flags = flags;dma_fence_enable_sw_signaling (&req->fence);
In keeping with the better tracking for in/out, this hack to enable the notify irq here is no longer required.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerPATCH v2 2/8 drm/i915/tracepoints: Adjust i915_gem_ring_dispatch
From: Tvrtko Ursulin <[email protected]>
Rename it to i915_gem_request_queue and fix the logged info equivalent to the i915_gem_request even class. Also moved it a bit further apart from the i915_gem_request_add tracepoint since they otherwise provide similar information too close in time.
v2: Remove sw fence singalling. We will rely on the soon to
come GuC scheduling backend to enable that. (Chris Wilson)
--- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 ++-- drivers/gpu/drm/i915/i915_trace.h | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/i915_gem_execbuffer.c +2 -2
@@ -1496,8 +1496,6 @@ execbuf_submit(struct i915_execbuffer_params *params,if (ret)return ret; -trace_i915_gem_ring_dispatch (params->request, params->dispatch_flags); -i915_gem_execbuffer_move_to_active (vmas, params->request);return 0 ;
@@ -1842,6 +1840,8 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data, params->dispatch_flags = dispatch_flags; params->ctx = ctx; +trace_i915_gem_request_queue (params->request, dispatch_flags); + ret =execbuf_submit (params, args, &eb->vmas); err_request:__i915_add_request (params->request, ret ==0 );
drivers/gpu/drm/i915/i915_trace.h +7 -5
@@ -503,13 +503,14 @@ TRACE_EVENT(i915_gem_ring_sync_to, __entry->seqno) ); -TRACE_EVENT(i915_gem_ring_dispatch, +TRACE_EVENT(i915_gem_request_queue, TP_PROTO(struct drm_i915_gem_request *req, u32 flags), TP_ARGS(req, flags), TP_STRUCT__entry( __field(u32, dev) __field(u32, ring) + __field(u32, ctx) __field(u32, seqno) __field(u32, flags) ),
@@ -517,13 +518,14 @@ TRACE_EVENT(i915_gem_ring_dispatch,TP_fast_assign ( __entry->dev = req->i915->drm.primary->index; __entry->ring = req->engine->id; - __entry->seqno = req->global_seqno; + __entry->ctx = req->ctx->hw_id; + __entry->seqno = req->fence.seqno; __entry->flags = flags; -dma_fence_enable_sw_signaling (&req->fence); ), -TP_printk ("dev=%u, ring=%u, seqno=%u, flags=%x" , - __entry->dev, __entry->ring, __entry->seqno, __entry->flags) +TP_printk ("dev=%u, ring=%u, ctx=%u, seqno=%u, flags=%x" , + __entry->dev, __entry->ring, __entry->ctx, __entry->seqno, + __entry->flags) ); TRACE_EVENT(i915_gem_ring_flush,
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerRFC 3/8 drm/i915/tracepoints: Tidy i915_gem_request_wait_begin
In reply to Tvrtko UrsulinFrom: Tvrtko Ursulin <[email protected]>
Provide the same information as the other request even classes.
--- drivers/gpu/drm/i915/i915_trace.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/i915_trace.h +8 -4
@@ -619,7 +619,9 @@ TRACE_EVENT(i915_gem_request_wait_begin,TP_STRUCT__entry (__field (u32 ,dev )__field (u32, ring) +__field (u32, ctx)__field (u32, seqno) +__field (u32, global)__field (bool, blocking) ),
@@ -632,14 +634,16 @@ TRACE_EVENT(i915_gem_request_wait_begin,TP_fast_assign ( __entry->dev = req->i915->drm.primary->index; __entry->ring = req->engine->id; - __entry->seqno = req->global_seqno; + __entry->ctx = req->ctx->hw_id; + __entry->seqno = req->fence.seqno; + __entry->global = req->global_seqno; __entry->blocking =mutex_is_locked (&req->i915->drm.struct_mutex); ), -TP_printk ("dev=%u, ring=%u, seqno=%u, blocking=%s" , - __entry->dev, __entry->ring, - __entry->seqno, __entry->blocking ?"yes (NB)" :"no" ) +TP_printk ("dev=%u, ring=%u, ctx=%u, seqno=%u, global=%u, blocking=%s" , + __entry->dev, __entry->ring, __entry->ctx, __entry->seqno, + __entry->global, __entry->blocking ?"yes (NB)" :"no" ) ); DEFINE_EVENT(i915_gem_request, i915_gem_request_wait_end,
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 3/8] drm/i915/tracepoints: Tidy i915_gem_request_wait_begin
Quoted 24 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
Provide the same information as the other request even classes.
Signed-off-by Tvrtko Ursulin <[email protected]>--- drivers/gpu/drm/i915/i915_trace.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/i915_trace.h +2
-0@@ -619,7 +619,9 @@ TRACE_EVENT(i915_gem_request_wait_begin,TP_STRUCT__entry (__field (u32 ,dev )__field (u32, ring) +__field (u32, ctx)__field (u32, seqno) +__field (u32, global)__field (bool, blocking) ),
drivers/gpu/drm/i915/i915_trace.h TRACE_EVENT(i915_gem_request_wait_begin, · line 641
Quoted 9 lines
drivers/gpu/drm/i915/i915_trace.h +3
-1@@ -632,14 +634,16 @@ TRACE_EVENT(i915_gem_request_wait_begin,TP_fast_assign ( __entry->dev = req->i915->drm.primary->index; __entry->ring = req->engine->id; - __entry->seqno = req->global_seqno; + __entry->ctx = req->ctx->hw_id; + __entry->seqno = req->fence.seqno; + __entry->global = req->global_seqno; __entry->blocking =mutex_is_locked (&req->i915->drm.struct_mutex);
We now have accurate information for this field from
(flags & I915_WAIT_LOCKED). Let's fix that up as well and drop the NB. -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerPATCH v2 3/8 drm/i915/tracepoints: Tidy i915_gem_request_wait_begin
From: Tvrtko Ursulin <[email protected]>
Provide the same information as the other request event classes.
v2: Pass in flags so we can properly report the blocking status.
(Chris Wilson)
--- drivers/gpu/drm/i915/i915_gem_request.c | 2 +- drivers/gpu/drm/i915/i915_trace.h | 21 +++++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/i915_gem_request.c +1 -1
@@ -1077,7 +1077,7 @@ long i915_wait_request(struct drm_i915_gem_request *req,if (!timeout)return -ETIME ; -trace_i915_gem_request_wait_begin (req); +trace_i915_gem_request_wait_begin (req, flags);if (!i915_sw_fence_done (&req->execute)) { timeout =__i915_request_wait_for_execute (req, flags, timeout);
drivers/gpu/drm/i915/i915_trace.h +13 -8
@@ -612,13 +612,16 @@ DEFINE_EVENT(i915_gem_request, i915_gem_request_complete, ); TRACE_EVENT(i915_gem_request_wait_begin, - TP_PROTO(struct drm_i915_gem_request *req), - TP_ARGS(req), + TP_PROTO(struct drm_i915_gem_request *req, unsigned int flags), + TP_ARGS(req, flags), TP_STRUCT__entry( __field(u32, dev) __field(u32, ring) + __field(u32, ctx) __field(u32, seqno) + __field(u32, global) + __field(unsigned int, flags) __field(bool, blocking) ),
@@ -631,14 +634,16 @@ TRACE_EVENT(i915_gem_request_wait_begin,TP_fast_assign ( __entry->dev = req->i915->drm.primary->index; __entry->ring = req->engine->id; - __entry->seqno = req->global_seqno; - __entry->blocking = -mutex_is_locked (&req->i915->drm.struct_mutex); + __entry->ctx = req->ctx->hw_id; + __entry->seqno = req->fence.seqno; + __entry->global = req->global_seqno; + __entry->flags = flags; + __entry->blocking = flags &I915_WAIT_LOCKED ; ), -TP_printk ("dev=%u, ring=%u, seqno=%u, blocking=%s" , - __entry->dev, __entry->ring, - __entry->seqno, __entry->blocking ?"yes (NB)" :"no" ) +TP_printk ("dev=%u, ring=%u, ctx=%u, seqno=%u, global=%u, blocking=%u, flags=%x" , + __entry->dev, __entry->ring, __entry->ctx, __entry->seqno, + __entry->global, __entry->blocking, __entry->flags) ); DEFINE_EVENT(i915_gem_request, i915_gem_request_wait_end,
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerRFC 4/8 drm/i915/tracepoints: Remove unused i915_gem_request_complete
In reply to Tvrtko UrsulinFrom: Tvrtko Ursulin <[email protected]>
Tracepoint is not used and won't be suitable for its replacement.
--- drivers/gpu/drm/i915/i915_trace.h | 5 ----- 1 file changed, 5 deletions(-)
drivers/gpu/drm/i915/i915_trace.h +0 -5
@@ -607,11 +607,6 @@ DEFINE_EVENT(i915_gem_request, i915_gem_request_retire,TP_ARGS (req) ); -DEFINE_EVENT (i915_gem_request, i915_gem_request_complete, - TP_PROTO(struct drm_i915_gem_request *req), -TP_ARGS (req) -); - TRACE_EVENT(i915_gem_request_wait_begin, TP_PROTO(struct drm_i915_gem_request *req), TP_ARGS(req),
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 4/8] drm/i915/tracepoints: Remove unused i915_gem_request_complete
Quoted 3 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
Tracepoint is not used and won't be suitable for its replacement.
Indeed, superseded by trace_dma_fence_signaled.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerRFC 5/8 drm/i915/tracepoints: Add request submit and execute tracepoints
In reply to Tvrtko UrsulinFrom: Tvrtko Ursulin <[email protected]>
These new tracepoints are emitted once the request is ready to be submitted to the GPU and once the request is about to be submitted to the GPU, respectively.
Former condition triggers as soon as all the fences and dependencies have been resolved, and the latter once the backend is about to submit it to the GPU.
New tracepoint are enabled via the new DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option which is disabled by default to alleviate the performance impact concerns.
--- drivers/gpu/drm/i915/Kconfig.debug | 11 +++++++++++ drivers/gpu/drm/i915/i915_gem_request.c | 2 ++ drivers/gpu/drm/i915/i915_trace.h | 24 ++++++++++++++++++++++++ 3 files changed, 37 insertions(+)
drivers/gpu/drm/i915/Kconfig.debug +11 -0
@@ -58,3 +58,14 @@ config DRM_I915_SW_FENCE_DEBUG_OBJECTS Recommended for driver developers only. If in doubt, say "N". + +config DRM_I915_LOW_LEVEL_TRACEPOINTS + bool "Enable low level request tracing events" + depends on DRM_I915 + default n + help + Choose this option to turn on low level request tracing events. + This provides the ability to precisely monitor engine utilisation + and also analyze the request dependency resolving timeline. + + If in doubt, say "N".
drivers/gpu/drm/i915/i915_gem_request.c +2 -0
@@ -449,6 +449,7 @@ submit_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state)switch (state) {case FENCE_COMPLETE : +trace_i915_gem_request_submit (request); request->engine->submit_request (request);break ;
@@ -468,6 +469,7 @@ execute_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state)switch (state) {case FENCE_COMPLETE : +trace_i915_gem_request_execute (request);break ;case FENCE_FREE :
drivers/gpu/drm/i915/i915_trace.h +24 -0
@@ -582,6 +582,30 @@ DEFINE_EVENT(i915_gem_request, i915_gem_request_add,TP_ARGS (req) ); +#if defined(CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS ) +DEFINE_EVENT (i915_gem_request, i915_gem_request_submit, + TP_PROTO(struct drm_i915_gem_request *req), +TP_ARGS (req) +); + +DEFINE_EVENT (i915_gem_request, i915_gem_request_execute, + TP_PROTO(struct drm_i915_gem_request *req), +TP_ARGS (req) +); +#else +#if !defined(TRACE_HEADER_MULTI_READ ) +static inline void +trace_i915_gem_request_submit (struct drm_i915_gem_request *req) +{ +} + +static inline void +trace_i915_gem_request_execute (struct drm_i915_gem_request *req) +{ +} +#endif +#endif + TRACE_EVENT(i915_gem_request_notify, TP_PROTO(struct intel_engine_cs *engine), TP_ARGS(engine),
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerRFC 6/8 drm/i915/tracepoints: Rename i915_gem_request_notify
In reply to Tvrtko UrsulinFrom: Tvrtko Ursulin <[email protected]>
i915_gem_ring_notify is more appropriate since we do not have the request information at this point, but it is simply a signal from the engine that some request has been completed.
--- drivers/gpu/drm/i915/i915_irq.c | 2 +- drivers/gpu/drm/i915/i915_trace.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +1 -1
@@ -1035,7 +1035,7 @@ static void notify_ring(struct intel_engine_cs *engine) {set_bit (ENGINE_IRQ_BREADCRUMB , &engine->irq_posted);if (intel_engine_wakeup (engine)) -trace_i915_gem_request_notify (engine); +trace_i915_gem_ring_notify (engine); } static void vlv_c0_read(struct drm_i915_private *dev_priv,
drivers/gpu/drm/i915/i915_trace.h +1 -1
@@ -606,7 +606,7 @@ trace_i915_gem_request_execute(struct drm_i915_gem_request *req)#endif #endif -TRACE_EVENT(i915_gem_request_notify, +TRACE_EVENT(i915_gem_ring_notify, TP_PROTO(struct intel_engine_cs *engine), TP_ARGS(engine),
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 6/8] drm/i915/tracepoints: Rename i915_gem_request_notify
Quoted 5 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
i915_gem_ring_notifyis more appropriate since we do not have the request information at this point, but it is simply a signal from the engine that some request has been completed.
I was going to suggest intel_engine_notify.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 6/8] drm/i915/tracepoints: Rename i915_gem_request_notify
Quoted 8 lines · Chris Wilson
Quoted 5 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
i915_gem_ring_notifyis more appropriate since we do not have the request information at this point, but it is simply a signal from the engine that some request has been completed.I was going to suggest
intel_engine_notify.
Yeah I know, but i915_trace.h seemed like a last remaining bastion of rings so I narrowly tipped to stick with it. But can change it just as well.
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerPATCH v2 6/8 drm/i915/tracepoints: Rename i915_gem_request_notify
In reply to Chris WilsonFrom: Tvrtko Ursulin <[email protected]>
i915_gem_ring_notify is more appropriate since we do not have the request information at this point, but it is simply a signal from the engine that some request has been completed.
v2:
* Always trace and log if there were any waiters.
* Rename to intel_engine_notify. (Chris Wilson)
--- drivers/gpu/drm/i915/i915_irq.c | 6 ++++-- drivers/gpu/drm/i915/i915_trace.h | 13 ++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +4 -2
@@ -1033,9 +1033,11 @@ static void ironlake_rps_change_irq_handler(struct drm_i915_private *dev_priv)static void notify_ring (struct intel_engine_cs *engine) { +bool waiters; +set_bit (ENGINE_IRQ_BREADCRUMB , &engine->irq_posted); -if (intel_engine_wakeup (engine)) -trace_i915_gem_request_notify (engine); + waiters =intel_engine_wakeup (engine); +trace_intel_engine_notify (engine, waiters); } static void vlv_c0_read(struct drm_i915_private *dev_priv,
drivers/gpu/drm/i915/i915_trace.h +8 -5
@@ -605,24 +605,27 @@ trace_i915_gem_request_execute(struct drm_i915_gem_request *req)#endif #endif -TRACE_EVENT (i915_gem_request_notify, - TP_PROTO(struct intel_engine_cs *engine), -TP_ARGS (engine), +TRACE_EVENT (intel_engine_notify, + TP_PROTO(struct intel_engine_cs *engine, bool waiters), +TP_ARGS (engine, waiters),TP_STRUCT__entry ( __field(u32, dev) __field(u32, ring) __field(u32, seqno) +__field (bool, waiters) ),TP_fast_assign ( __entry->dev = engine->i915->drm.primary->index; __entry->ring = engine->id; __entry->seqno = intel_engine_get_seqno(engine); + __entry->waiters = waiters; ), -TP_printk ("dev=%u, ring=%u, seqno=%u" , - __entry->dev, __entry->ring, __entry->seqno) +TP_printk ("dev=%u, ring=%u, seqno=%u, waiters=%u" , + __entry->dev, __entry->ring, __entry->seqno, + __entry->waiters) ); DEFINE_EVENT(i915_gem_request, i915_gem_request_retire,
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2 6/8] drm/i915/tracepoints: Rename i915_gem_request_notify
Quoted 8 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
i915_gem_ring_notifyis more appropriate since we do not have the request information at this point, but it is simply a signal from the engine that some request has been completed.v2:
* Always trace and log if there were any waiters.
Agreed, I'd sketched that change, well to always emit the tracepoint when the interrupt fired. Whether it was in vain is icing on the cake - I've some sketches of keeping the user-interrupt alive until the following rq to short-circuit some ping-ponging or irq enable state. -Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2 6/8] drm/i915/tracepoints: Rename i915_gem_request_notify
Quoted 7 lines · Chris Wilson
Quoted 6 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
i915_gem_ring_notifyis more appropriate since we do not have the request information at this point, but it is simply a signal from the engine that some request has been completed.
Quoted 6 lines
Quoted 2 lines
v2:
* Always trace and log if there were any waiters.Agreed, I'd sketched that change, well to always emit the tracepoint when the interrupt fired. Whether it was in vain is icing on the cake - I've some sketches of keeping the user-interrupt alive until the following rq to short-circuit some ping-ponging or irq enable state.
Shall we progress this series or leave it for some future convenient time?
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2 6/8] drm/i915/tracepoints: Rename i915_gem_request_notify
Quoted 9 lines · Tvrtko Ursulin
Quoted 7 lines · Chris Wilson
Quoted 6 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
i915_gem_ring_notifyis more appropriate since we do not have the request information at this point, but it is simply a signal from the engine that some request has been completed.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
v2:
* Always trace and log if there were any waiters.Agreed, I'd sketched that change, well to always emit the tracepoint when the interrupt fired. Whether it was in vain is icing on the cake - I've some sketches of keeping the user-interrupt alive until the following rq to short-circuit some ping-ponging or irq enable state.
Shall we progress this series or leave it for some future convenient time?
iirc, it marries well with the patch (on list now) to keep the interrupt alive for an extra tick. Now's as good as time as any to push the improvements to rq tracing.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2 6/8] drm/i915/tracepoints: Rename i915_gem_request_notify
Quoted 17 lines · Chris Wilson
Quoted 16 lines · Tvrtko Ursulin
Quoted 13 lines · Chris Wilson
Quoted 8 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
i915_gem_ring_notifyis more appropriate since we do not have the request information at this point, but it is simply a signal from the engine that some request has been completed.v2:
* Always trace and log if there were any waiters.Agreed, I'd sketched that change, well to always emit the tracepoint when the interrupt fired. Whether it was in vain is icing on the cake - I've some sketches of keeping the user-interrupt alive until the following rq to short-circuit some ping-ponging or irq enable state.
Quoted 5 lines
Quoted 1 line
Shall we progress this series or leave it for some future convenient time?
iirc, it marries well with the patch (on list now) to keep the interrupt alive for an extra tick. Now's as good as time as any to push the improvements to rq tracing.
Cool, patches just need some r-b's then. :) Let me see if they still apply and resend the series.
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerRFC 7/8 drm/i915/tracepoints: Add backend level request in and out tracepoints
In reply to Tvrtko UrsulinFrom: Tvrtko Ursulin <[email protected]>
Two new tracepoints placed at the call sites where requests are actually passed to the GPU enable userspace to track engine utilisation.
These tracepoints are only enabled when the DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option is enabled.
--- drivers/gpu/drm/i915/i915_guc_submission.c | 2 ++ drivers/gpu/drm/i915/i915_trace.h | 49 ++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_lrc.c | 4 +++ 3 files changed, 55 insertions(+)
drivers/gpu/drm/i915/i915_guc_submission.c +2 -0
@@ -518,6 +518,8 @@ static void __i915_guc_submit(struct drm_i915_gem_request *rq)if (i915_vma_is_map_and_fenceable (rq->ring->vma))POSTING_READ_FW (GUC_STATUS ); +trace_i915_gem_request_in (rq,0 ); + b_ret =guc_ring_doorbell (client); client->submissions[engine_id] +=1 ;
drivers/gpu/drm/i915/i915_trace.h +49 -0
67 lines not on this page · raw message
drivers/gpu/drm/i915/intel_lrc.c +4 -0
@@ -505,6 +505,7 @@ static void execlists_dequeue(struct intel_engine_cs *engine) cursor->priotree.priority =INT_MAX ;__i915_gem_request_submit (cursor); +trace_i915_gem_request_in (cursor, port - engine->execlist_port); last = cursor; submit = true; }
@@ -561,6 +562,7 @@ static void intel_lrc_irq_handler(unsigned long data)struct intel_engine_cs *engine = (struct intel_engine_cs *)data;struct execlist_port *port = engine->execlist_port;struct drm_i915_private *dev_priv = engine->i915; +unsigned int portidx =0 ;intel_uncore_forcewake_get (dev_priv, engine->fw_domains);
@@ -597,6 +599,8 @@ static void intel_lrc_irq_handler(unsigned long data)execlists_context_status_change (port[0 ].request,INTEL_CONTEXT_SCHEDULE_OUT ); +trace_i915_gem_request_out (port[0 ].request, + portidx++);i915_gem_request_put (port[0 ].request); port[0 ] = port[1 ];memset (&port[1 ],0 ,sizeof (port[1 ]));
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 7/8] drm/i915/tracepoints: Add backend level request in and out tracepoints
Quoted 21 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
Two new tracepoints placed at the call sites where requests are actually passed to the GPU enable userspace to track engine utilisation.
These tracepoints are only enabled when the
DRM_I915_LOW_LEVEL_TRACEPOINTSKconfigoption is enabled.Signed-off-by Tvrtko Ursulin <[email protected]>--- drivers/gpu/drm/i915/i915_guc_submission.c | 2 ++ drivers/gpu/drm/i915/i915_trace.h | 49 ++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_lrc.c | 4 +++ 3 files changed, 55 insertions(+)drivers/gpu/drm/i915/i915_guc_submission.c +0
-0
drivers/gpu/drm/i915/i915_guc_submission.c static void __i915_guc_submit(struct drm_i915_gem_request *rq) · line 521
Quoted 4 lines
drivers/gpu/drm/i915/i915_guc_submission.c +1
-0@@ -518,6 +518,8 @@ static void __i915_guc_submit(struct drm_i915_gem_request *rq)if (i915_vma_is_map_and_fenceable (rq->ring->vma))POSTING_READ_FW (GUC_STATUS ); +trace_i915_gem_request_in (rq,0 );
But how to get out for guc? We could do a similar in for ringbuffer. The original way I used it was in == dispatch, out == ring-notify, which is why trace_i915_gem_ring_dispatch enabled the signaling.
Hmm. Following on from that we can add the out tracepoint as a fence-callback. For the moment, I'd drop guc/legacy trace_i915_gem_request_in and we will try something more magical. Though once we do enable the fake GuC scheduler we will have an appropriate place to drop an trace_i915_gem_request_out. Just leaving ringbuffer as the odd one out, but for who arguably the in/out logic is not as important.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 7/8] drm/i915/tracepoints: Add backend level request in and out tracepoints
Quoted 25 lines · Chris Wilson
Quoted 24 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
Two new tracepoints placed at the call sites where requests are actually passed to the GPU enable userspace to track engine utilisation.
These tracepoints are only enabled when the
DRM_I915_LOW_LEVEL_TRACEPOINTSKconfigoption is enabled.Signed-off-by Tvrtko Ursulin <[email protected]>--- drivers/gpu/drm/i915/i915_guc_submission.c | 2 ++ drivers/gpu/drm/i915/i915_trace.h | 49 ++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_lrc.c | 4 +++ 3 files changed, 55 insertions(+)drivers/gpu/drm/i915/i915_guc_submission.c +0
-0@@ -518,6 +518,8 @@ static void __i915_guc_submit(struct drm_i915_gem_request *rq)if (i915_vma_is_map_and_fenceable (rq->ring->vma))POSTING_READ_FW (GUC_STATUS );
Quoted 5 lines
drivers/gpu/drm/i915/i915_guc_submission.c static void __i915_guc_submit(struct drm_i915_gem_request *rq) · line 521
Quoted 1 line
drivers/gpu/drm/i915/i915_guc_submission.c +1
-0+trace_i915_gem_request_in (rq,0 );But how to get out for guc? We could do a similar in for ringbuffer. The original way I used it was in == dispatch, out == ring-notify, which is why
trace_i915_gem_ring_dispatchenabled the signaling.
That was my thinking as well.
Quoted 7 lines
Hmm. Following on from that we can add the out tracepoint as a fence-callback. For the moment, I'd drop guc/legacy
trace_i915_gem_request_inand we will try something more magical. Though once we do enable the fake GuC scheduler we will have an appropriate place to drop antrace_i915_gem_request_out. Just leaving ringbuffer as the odd one out, but for who arguably the in/out logic is not as important.
Fence signalled is very lazy if no one is listening, no? So until the GUC backend I thought request_in and deriving the _out from _notify in userspace would be OK. Meaning enable signalling stays until then.
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 7/8] drm/i915/tracepoints: Add backend level request in and out tracepoints
Quoted 9 lines · Tvrtko Ursulin
Quoted 7 lines · Chris Wilson
Hmm. Following on from that we can add the out tracepoint as a fence-callback. For the moment, I'd drop guc/legacy
trace_i915_gem_request_inand we will try something more magical. Though once we do enable the fake GuC scheduler we will have an appropriate place to drop antrace_i915_gem_request_out. Just leaving ringbuffer as the odd one out, but for who arguably the in/out logic is not as important.
Quoted 4 lines
Fence signalled is very lazy if no one is listening, no? So until the GUC backend I thought
request_inand deriving the_outfrom_notifyin userspace would be OK. Meaning enable signalling stays until then.
It's lazy unless we use fence_add_callback(). I was thinking of some magic inside the trace_request_in macro to add something like fence_add_callback(this_fence, __trace_request_out);
It still has the problem request_out doesn't work unless request_in is also being watched, but it has the advantage of being the same for all generators (i.e. more convenient for userspace).
But as it seems limited to ringbuffer, we may consider it no longer required?
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 7/8] drm/i915/tracepoints: Add backend level request in and out tracepoints
Quoted 19 lines · Chris Wilson
Quoted 9 lines · Tvrtko Ursulin
Quoted 7 lines · Chris Wilson
Hmm. Following on from that we can add the out tracepoint as a fence-callback. For the moment, I'd drop guc/legacy
trace_i915_gem_request_inand we will try something more magical. Though once we do enable the fake GuC scheduler we will have an appropriate place to drop antrace_i915_gem_request_out. Just leaving ringbuffer as the odd one out, but for who arguably the in/out logic is not as important.Quoted 4 lines
Fence signalled is very lazy if no one is listening, no? So until the GUC backend I thought
request_inand deriving the_outfrom_notifyin userspace would be OK. Meaning enable signalling stays until then.It's lazy unless we use
fence_add_callback(). I was thinking of some magic inside thetrace_request_inmacro to add something likefence_add_callback(this_fence, __trace_request_out);
Quoted 6 lines
It still has the problem
request_outdoesn't work unlessrequest_inis also being watched, but it has the advantage of being the same for all generators (i.e. more convenient for userspace).But as it seems limited to ringbuffer, we may consider it no longer required?
You mean bank on the GUC backend getting in soon? Yeah, that sounds reasonable. I'll drop the sw signalling from notify then.
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [RFC 7/8] drm/i915/tracepoints: Add backend level request in and out tracepoints
Quoted 25 lines · Tvrtko Ursulin
Quoted 23 lines · Chris Wilson
Quoted 9 lines · Tvrtko Ursulin
Quoted 7 lines · Chris Wilson
Hmm. Following on from that we can add the out tracepoint as a fence-callback. For the moment, I'd drop guc/legacy
trace_i915_gem_request_inand we will try something more magical. Though once we do enable the fake GuC scheduler we will have an appropriate place to drop antrace_i915_gem_request_out. Just leaving ringbuffer as the odd one out, but for who arguably the in/out logic is not as important.Quoted 4 lines
Fence signalled is very lazy if no one is listening, no? So until the GUC backend I thought
request_inand deriving the_outfrom_notifyin userspace would be OK. Meaning enable signalling stays until then.It's lazy unless we use
fence_add_callback(). I was thinking of some magic inside thetrace_request_inmacro to add something likefence_add_callback(this_fence, __trace_request_out);It still has the problem
request_outdoesn't work unlessrequest_inis also being watched, but it has the advantage of being the same for all generators (i.e. more convenient for userspace).
Quoted 5 lines
Quoted 2 lines
But as it seems limited to ringbuffer, we may consider it no longer required?
You mean bank on the GUC backend getting in soon? Yeah, that sounds reasonable. I'll drop the sw signalling from notify then.
Considering Joonas asks quite regularly "are we nearly there yet", I think so.
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerPATCH v2 7/8 drm/i915/tracepoints: Add backend level request in and out tracepoints
From: Tvrtko Ursulin <[email protected]>
Two new tracepoints placed at the call sites where requests are actually passed to the GPU enable userspace to track engine utilisation.
These tracepoints are only enabled when the DRM_I915_LOW_LEVEL_TRACEPOINTS Kconfig option is enabled.
v2: Fix compilation with !CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS.
--- drivers/gpu/drm/i915/i915_guc_submission.c | 2 ++ drivers/gpu/drm/i915/i915_trace.h | 49 ++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_lrc.c | 4 +++ 3 files changed, 55 insertions(+)
drivers/gpu/drm/i915/i915_guc_submission.c +2 -0
@@ -518,6 +518,8 @@ static void __i915_guc_submit(struct drm_i915_gem_request *rq)if (i915_vma_is_map_and_fenceable (rq->ring->vma))POSTING_READ_FW (GUC_STATUS ); +trace_i915_gem_request_in (rq,0 ); + b_ret =guc_ring_doorbell (client); client->submissions[engine_id] +=1 ;
drivers/gpu/drm/i915/i915_trace.h +49 -0
61 lines not on this page · raw message
drivers/gpu/drm/i915/intel_lrc.c +4 -0
@@ -475,6 +475,7 @@ static void execlists_dequeue(struct intel_engine_cs *engine) cursor->priotree.priority =INT_MAX ;__i915_gem_request_submit (cursor); +trace_i915_gem_request_in (cursor, port - engine->execlist_port); last = cursor; submit = true; }
@@ -531,6 +532,7 @@ static void intel_lrc_irq_handler(unsigned long data)struct intel_engine_cs *engine = (struct intel_engine_cs *)data;struct execlist_port *port = engine->execlist_port;struct drm_i915_private *dev_priv = engine->i915; +unsigned int portidx =0 ;intel_uncore_forcewake_get (dev_priv, engine->fw_domains);
@@ -567,6 +569,8 @@ static void intel_lrc_irq_handler(unsigned long data)execlists_context_status_change (port[0 ].request,INTEL_CONTEXT_SCHEDULE_OUT ); +trace_i915_gem_request_out (port[0 ].request, + portidx++);i915_gem_request_put (port[0 ].request); port[0 ] = port[1 ];memset (&port[1 ],0 ,sizeof (port[1 ]));
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tvrtko Ursulin
maintainerRFC 8/8 drm/i915/tracepoints: Add hw_id to context tracepoints
In reply to Tvrtko UrsulinFrom: Tvrtko Ursulin <[email protected]>
It is useful to provide this info to match the one provided in the request tracepoints.
--- drivers/gpu/drm/i915/i915_trace.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/i915_trace.h +5 -3
@@ -849,17 +849,19 @@ DECLARE_EVENT_CLASS(i915_context,TP_STRUCT__entry (__field (u32 ,dev ) __field(struct i915_gem_context *, ctx) +__field (u32, hw_id) __field(struct i915_address_space *, vm) ),TP_fast_assign ( + __entry->dev = ctx->i915->drm.primary->index; __entry->ctx = ctx; + __entry->hw_id = ctx->hw_id; __entry->vm = ctx->ppgtt ? &ctx->ppgtt->base :NULL ; - __entry->dev = ctx->i915->drm.primary->index; ), - TP_printk("dev=%u, ctx=%p, ctx_vm=%p", - __entry->dev, __entry->ctx, __entry->vm) + TP_printk("dev=%u, ctx=%p, ctx_vm=%p, hw_id=%u", + __entry->dev, __entry->ctx, __entry->vm, __entry->hw_id) ) DEFINE_EVENT(i915_context, i915_context_create,
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for Tracepoints cleanup and improvements for requests
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: Tracepoints cleanup and improvements for requests
URL : https://patchwork.freedesktop.org/series/18676/
State : failure
== Summary ==
LD drivers/usb/storage/built-in.o
CC [M] drivers/gpu/drm/i915/gvt/render.o
CC [M] drivers/gpu/drm/i915/intel_lpe_audio.o
LD kernel/built-in.o
LD drivers/pci/pcie/aer/aerdriver.o
LD drivers/pci/pcie/aer/built-in.o
LD drivers/pci/pcie/built-in.o
LD net/packet/built-in.o
LD drivers/pci/built-in.o
LD drivers/scsi/scsi_mod.o
LD drivers/tty/serial/8250/8250.o
LD sound/built-in.o
LD drivers/gpu/drm/drm.o
LD drivers/iommu/built-in.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/acpi/acpica/acpi.o
LD drivers/thermal/thermal_sys.o
LD drivers/thermal/built-in.o
LD drivers/acpi/acpica/built-in.o
LD [M] drivers/net/ethernet/intel/igbvf/igbvf.o
LD [M] drivers/net/ethernet/intel/e1000/e1000.o
LD drivers/usb/gadget/libcomposite.o
LD drivers/acpi/built-in.o
LD [M] drivers/mmc/core/mmc_block.o
LD drivers/mmc/built-in.o
LD drivers/video/fbdev/core/fb.o
LD drivers/video/fbdev/core/built-in.o
LD drivers/spi/built-in.o
In file included from ./include/trace/define_trace.h:95:0,
from drivers/gpu/drm/i915/i915_trace.h:912,
from drivers/gpu/drm/i915/i915_trace_points.c:12:
./include/trace/trace_events.h:331:37: error: ‘trace_event_type_funcs_i915_gem_request_hw’ defined but not used [-Werror=unused-variable]
static struct trace_event_functions trace_event_type_funcs_##call = { \
^drivers/gpu/drm/i915/./i915_trace.h:585:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
DECLARE_EVENT_CLASS(i915_gem_request_hw,
^
In file included from ./include/trace/define_trace.h:95:0,
from drivers/gpu/drm/i915/i915_trace.h:912,
from drivers/gpu/drm/i915/i915_trace_points.c:12:
./include/trace/trace_events.h:726:13: error: ‘print_fmt_i915_gem_request_hw’ defined but not used [-Werror=unused-variable]
static char print_fmt_##call[] = print; \
^
drivers/gpu/drm/i915/./i915_trace.h:585:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
DECLARE_EVENT_CLASS(i915_gem_request_hw,
^
LD drivers/tty/serial/8250/8250_base.o
LD drivers/tty/serial/8250/built-in.o
LD drivers/usb/gadget/udc/udc-core.o
LD drivers/usb/gadget/udc/built-in.o
LD drivers/usb/gadget/built-in.o
LD drivers/tty/serial/built-in.o
LD drivers/scsi/sd_mod.o
LD drivers/video/fbdev/built-in.o
LD drivers/scsi/built-in.o
AR lib/lib.a
EXPORTS lib/lib-ksyms.o
LD fs/btrfs/btrfs.o
LD lib/built-in.o
LD drivers/video/console/built-in.o
LD net/xfrm/built-in.o
LD drivers/video/built-in.o
LD drivers/usb/core/usbcore.o
LD fs/btrfs/built-in.o
LD drivers/usb/core/built-in.o
CC arch/x86/kernel/cpu/capflags.o
LD arch/x86/kernel/cpu/built-in.o
LD arch/x86/kernel/built-in.o
LD net/ipv4/built-in.o
LD drivers/tty/vt/built-in.o
LD drivers/tty/built-in.o
LD net/ipv6/ipv6.o
LD drivers/md/md-mod.o
LD [M] drivers/net/ethernet/intel/igb/igb.o
LD drivers/md/built-in.o
LD arch/x86/built-in.o
LD net/ipv6/built-in.occ1: all warnings being treated as errors
LD drivers/usb/host/xhci-hcd.oscripts/Makefile.build:293: recipe for target 'drivers/gpu/drm/i915/i915_trace_points.o' failed make[4]: *** [drivers/gpu/drm/i915/i915_trace_points.o] Error 1
make[4]: *** Waiting for unfinished jobs....
LD fs/ext4/ext4.o LD [M] drivers/net/ethernet/intel/e1000e/e1000e.o LD fs/ext4/built-in.o LD fs/built-in.o LD drivers/usb/host/built-in.o LD drivers/usb/built-in.o LD net/core/built-in.o LD net/built-in.o LD drivers/net/ethernet/built-in.o LD drivers/net/built-in.o
scripts/Makefile.build:551: recipe for target 'drivers/gpu/drm/i915' failed make[3]: *** [drivers/gpu/drm/i915] Error 2 scripts/Makefile.build:551: recipe for target 'drivers/gpu/drm' failed make[2]: *** [drivers/gpu/drm] Error 2 scripts/Makefile.build:551: recipe for target 'drivers/gpu' failed make[1]: *** [drivers/gpu] Error 2
Makefile:988: recipe for target 'drivers' failed
make: *** [drivers] Error 2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for Tracepoints cleanup and improvements for requests (rev5)
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: Tracepoints cleanup and improvements for requests (rev5)
URL : https://patchwork.freedesktop.org/series/18676/
State : success
== Summary ==
Series 18676v5 Tracepoints cleanup and improvements for requests
https://patchwork.freedesktop.org/api/1.0/series/18676/revisions/5/mbox/
Test kms_flip:
Subgroup basic-flip-vs-wf_vblank:
dmesg-warn -> PASS (fi-snb-2520m)
Test kms_force_connector_basic:
Subgroup force-connector-state:
dmesg-warn -> PASS (fi-snb-2520m)
Test kms_pipe_crc_basic:
Subgroup nonblocking-crc-pipe-a:
dmesg-warn -> PASS (fi-snb-2520m)fi-bdw-5557u total:246 pass:232 dwarn:0 dfail:0 fail:0 skip:14 fi-bsw-n3050 total:246 pass:207 dwarn:0 dfail:0 fail:0 skip:39 fi-bxt-j4205 total:246 pass:224 dwarn:0 dfail:0 fail:0 skip:22 fi-bxt-t5700 total:78 pass:65 dwarn:0 dfail:0 fail:0 skip:12 fi-byt-j1900 total:246 pass:219 dwarn:0 dfail:0 fail:0 skip:27 fi-byt-n2820 total:246 pass:215 dwarn:0 dfail:0 fail:0 skip:31 fi-hsw-4770 total:246 pass:227 dwarn:0 dfail:0 fail:0 skip:19 fi-hsw-4770r total:246 pass:227 dwarn:0 dfail:0 fail:0 skip:19 fi-ivb-3520m total:246 pass:225 dwarn:0 dfail:0 fail:0 skip:21 fi-ivb-3770 total:246 pass:225 dwarn:0 dfail:0 fail:0 skip:21 fi-kbl-7500u total:246 pass:223 dwarn:0 dfail:0 fail:2 skip:21 fi-skl-6260u total:246 pass:233 dwarn:0 dfail:0 fail:0 skip:13 fi-skl-6700hq total:246 pass:226 dwarn:0 dfail:0 fail:0 skip:20 fi-skl-6700k total:246 pass:221 dwarn:4 dfail:0 fail:0 skip:21 fi-skl-6770hq total:246 pass:233 dwarn:0 dfail:0 fail:0 skip:13 fi-snb-2520m total:246 pass:215 dwarn:0 dfail:0 fail:0 skip:31 fi-snb-2600 total:246 pass:214 dwarn:0 dfail:0 fail:0 skip:32
123d798c350471aba7e0625c154c6d9e395756c8 drm-tip: 2017y-01m-30d-21h-14m-37s UTC integration manifest 76609c5 drm/i915/tracepoints: Add hw_id to context tracepoints
e6bea66 drm/i915/tracepoints: Add backend level request in and out tracepoints 593c326 drm/i915/tracepoints: Rename i915_gem_request_notify
90db18b drm/i915/tracepoints: Add request submit and execute tracepoints
c8695c6 drm/i915/tracepoints: Remove unused i915_gem_request_complete
cec9de6 drm/i915/tracepoints: Tidy i915_gem_request_wait_begin
cbf06b5 drm/i915/tracepoints: Adjust i915_gem_ring_dispatch
b542e3c drm/i915/tracepoints: Tidy request event class
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3647/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx