aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_trace.h')
-rw-r--r--drivers/gpu/drm/i915/i915_trace.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h
index 8134421b89a6..3db4a6817713 100644
--- a/drivers/gpu/drm/i915/i915_trace.h
+++ b/drivers/gpu/drm/i915/i915_trace.h
@@ -229,24 +229,26 @@ TRACE_EVENT(i915_gem_evict_everything,
229); 229);
230 230
231TRACE_EVENT(i915_gem_ring_dispatch, 231TRACE_EVENT(i915_gem_ring_dispatch,
232 TP_PROTO(struct intel_ring_buffer *ring, u32 seqno), 232 TP_PROTO(struct intel_ring_buffer *ring, u32 seqno, u32 flags),
233 TP_ARGS(ring, seqno), 233 TP_ARGS(ring, seqno, flags),
234 234
235 TP_STRUCT__entry( 235 TP_STRUCT__entry(
236 __field(u32, dev) 236 __field(u32, dev)
237 __field(u32, ring) 237 __field(u32, ring)
238 __field(u32, seqno) 238 __field(u32, seqno)
239 __field(u32, flags)
239 ), 240 ),
240 241
241 TP_fast_assign( 242 TP_fast_assign(
242 __entry->dev = ring->dev->primary->index; 243 __entry->dev = ring->dev->primary->index;
243 __entry->ring = ring->id; 244 __entry->ring = ring->id;
244 __entry->seqno = seqno; 245 __entry->seqno = seqno;
246 __entry->flags = flags;
245 i915_trace_irq_get(ring, seqno); 247 i915_trace_irq_get(ring, seqno);
246 ), 248 ),
247 249
248 TP_printk("dev=%u, ring=%u, seqno=%u", 250 TP_printk("dev=%u, ring=%u, seqno=%u, flags=%x",
249 __entry->dev, __entry->ring, __entry->seqno) 251 __entry->dev, __entry->ring, __entry->seqno, __entry->flags)
250); 252);
251 253
252TRACE_EVENT(i915_gem_ring_flush, 254TRACE_EVENT(i915_gem_ring_flush,