Re: [PATCH v4 2/3] drm/i915/perf: prepare driver to receive multiple ctx handles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/04/2020 19:22, Chris Wilson wrote:
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

Sure :)


-Lionel

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux