[Intel-gfx] [PATCH 7/8] drm/i915/tracepoints: Add backend level request in and out tracepoints

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 21 09:47:15 UTC 2017


On Tue, Feb 21, 2017 at 09:13:49AM +0000, Tvrtko Ursulin wrote:
> @@ -593,6 +595,8 @@ static void intel_lrc_irq_handler(unsigned long data)
>  				execlists_context_status_change(port[0].request,
>  								INTEL_CONTEXT_SCHEDULE_OUT);
>  
> +				trace_i915_gem_request_out(port[0].request,
> +							   portidx++);

Not seeing the value in portidx here, since if we process this as two
seperate interrupts, it always comes out as 0. And 0 is what we expect.
Knowing that we processed more than one completion event inside a single
tasklet?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list