Re: [Intel-gfx] [PATCH v2] drm/i915/tracing: Enable user interrupts while intel_engine_notify is active

2018-08-08 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-08-08 16:14:24) > From: Tvrtko Ursulin > > Keep the user interrupt enabled and emit intel_engine_notify tracepoint > every time as long as it is enabled. > > Premise is that if someone is listening, they want to see interrupts > logged. > > We use tracepoint (de)reg

[Intel-gfx] [PATCH v2] drm/i915/tracing: Enable user interrupts while intel_engine_notify is active

2018-08-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Keep the user interrupt enabled and emit intel_engine_notify tracepoint every time as long as it is enabled. Premise is that if someone is listening, they want to see interrupts logged. We use tracepoint (de)registration callbacks to enable user interrupts on all devices (f