Skip to content

Commit

Permalink
drm/i915: reorder field in gem_request tracepoints
Browse files Browse the repository at this point in the history
Let's make the order of the fields of the tracepoints involving gem
request match across i915. This makes userspace processing of
tracepoint a bit easier.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171218151959.14073-2-lionel.g.landwerlin@intel.com
  • Loading branch information
Lionel Landwerlin committed Dec 18, 2017
1 parent a0cf579 commit 3c2d067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/i915_trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,8 @@ DECLARE_EVENT_CLASS(i915_gem_request,

TP_STRUCT__entry(
__field(u32, dev)
__field(u32, ctx)
__field(u32, ring)
__field(u32, ctx)
__field(u32, seqno)
__field(u32, global)
),
Expand Down Expand Up @@ -684,9 +684,9 @@ DECLARE_EVENT_CLASS(i915_gem_request_hw,
TP_STRUCT__entry(
__field(u32, dev)
__field(u32, ring)
__field(u32, ctx)
__field(u32, seqno)
__field(u32, global_seqno)
__field(u32, ctx)
__field(u32, port)
),

Expand Down

0 comments on commit 3c2d067

Please sign in to comment.