[Intel-gfx] [PATCH 3/3] drm/i915/trace: Context field needs to be 64-bit wide
Chris Wilson
chris at chris-wilson.co.uk
Fri May 25 08:50:12 UTC 2018
Quoting Tvrtko Ursulin (2018-05-25 09:26:42)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> Underlaying field is u64 so the tracepoint needs to be as well.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> drivers/gpu/drm/i915/i915_trace.h | 20 ++++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h
> index bac582ed3a0b..009862261218 100644
> --- a/drivers/gpu/drm/i915/i915_trace.h
> +++ b/drivers/gpu/drm/i915/i915_trace.h
> @@ -623,7 +623,7 @@ TRACE_EVENT(i915_request_queue,
> __field(u32, hw_id)
> __field(u16, class)
> __field(u16, instance)
> - __field(u32, ctx)
> + __field(u64, ctx)
Hmm, we have a hole before the u64 if my counting is correct.
Hmm, hw_id is more related to the global seqno wouldn't you say? :)
-Chris
More information about the Intel-gfx
mailing list