[Intel-gfx] [PATCH] drm/i915: Consistent ordering of tracepoint binary data

Chris Wilson chris at chris-wilson.co.uk
Thu May 11 13:15:39 UTC 2017


On Thu, May 11, 2017 at 02:07:35PM +0100, Chris Wilson wrote:
> On Thu, May 11, 2017 at 02:00:45PM +0100, Tvrtko Ursulin wrote:
> > From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > 
> > For userspace receiving binary data it is easier if all related
> > request tracepoints emit the binary data in the same order of
> > dev, ring, ctx, seqno, ...
> 
> We decided that dev, ctx, ring, seqno was the right heirachy last time.
> After much debate :)
> ctx is the logical view of the device for a user
> ctx + ring = timeline

Hmm, we are also mixing ctx->hw_id and fence->context, right?
(Not relevant, just thinking aloud.)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list