Quoting Lionel Landwerlin (2020-03-31 12:48:20) > -static struct intel_context *oa_context(struct i915_perf_stream *stream) > -{ > - return stream->pinned_ctx ?: stream->engine->kernel_context; Maybe better to use pinned_ctxs[0] if set? There are certain risks* to using the kernel_context, so we should keep its use minimised. * Mostly the danger of hangs/corruption, inadvertent global barriers. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx