[Intel-gfx] [PATCH 0/3] drm/i915/perf: add support for multi context filtering
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Mon Mar 30 13:14:18 UTC 2020
On 27/03/2020 12:42, Chris Wilson wrote:
> 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
I figured you might not like too many contexts to be pinned.
Also a small size makes bsort kind of pointless ;)
I'll see how that looks. What the goto bsort utility in the kernel?
-Lionel
More information about the Intel-gfx
mailing list