Quoting Lionel Landwerlin (2020-04-07 13:35:39)
> -static struct intel_context *oa_context(struct i915_perf_stream *stream)
> -{
> -       return stream->pinned_ctx ?: stream->engine->kernel_context;
> -}

Idle thought: create a

stream->context = intel_context_create(stream->engine);

so I can stop worrying about the kernel_context. (What's the cost of one
more context, heh?)
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to