[Intel-gfx] [PATCH 0/3] drm/i915/perf: add support for multi context filtering

Chris Wilson chris at chris-wilson.co.uk
Fri Mar 27 10:42:09 UTC 2020


Quoting Lionel Landwerlin (2020-03-27 10:32:06)
> Hi all,
> 
> i915/perf has currently support for single context filtering. This
> allows mesa to read the content of the OA buffer and cut out any
> unrelated context running in a middle of a query.
> 
> Iris currently uses 2 GEM contexts for 3D & compute commands. In order
> to support performance queries on the compute context we need to be
> able to also filter on the second GEM context used for compute
> commands.
> 
> This series add support for filtering up to 4 GEM contexts in
> i915/perf.

Why make it a fixed size? [From a quick look it's just fixed storage as
you use a dynamically sized array. Considered sorting and bsearching?]
-Chris


More information about the Intel-gfx mailing list