Re: [PATCH 3/3] drm/i915/trace: Context field needs to be 64-bit wide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Tvrtko Ursulin (2018-05-25 09:26:42)
> From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> 
> Underlaying field is u64 so the tracepoint needs to be as well.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> Suggested-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> ---
>  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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux