[Intel-gfx] [RFC v2 2/3] drm/i915: duplicate i915_gem_ring_dispatch trace and add ctx parameter

Chris Wilson chris at chris-wilson.co.uk
Thu Jul 17 18:25:04 CEST 2014


On Wed, Jul 16, 2014 at 05:22:38PM +0100, daniele.ceraolospurio at intel.com wrote:
> From: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> 
> The context used to execute a batchbuffer is becoming increasingly
> important. Duplicating to avoid modifications to the original trace.

I am sure we don't want both. The structure encoding is exposed to
userspace so we are free to update the tracepoints within reason.
I would also like a better ctx identifier than its pointer. Using the
pointer for tracking objects makes it more difficult to read traces
(although it is easy for scripts).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list