[Intel-gfx] [PATCH v2 8/9] drm/i915/perf: Add engine class instance parameters to perf

Dixit, Ashutosh ashutosh.dixit at intel.com
Wed Feb 22 00:10:17 UTC 2023


On Tue, 21 Feb 2023 15:53:57 -0800, Dixit, Ashutosh wrote:
>
> > +	/**
> > +	 * In platforms with multiple OA buffers, the engine class instance must
> > +	 * be passed to open a stream to a OA unit corresponding to the engine.
> > +	 * Multiple engines may be mapped to the same OA unit.
> > +	 *
> > +	 * In addition to the class:instance, if a gem context is also passed, then
> > +	 * 1) the report headers of OA reports from other engines are squashed.
>
> Other engines or you mean other contexts?
>
> > +	 * 2) OAR is enabled for the class:instance
>
> For render engine?

I think this means the engine will support MI_REPORT_PERF_COUNT but not
sure how this (or if anything) is done.


More information about the Intel-gfx mailing list