[igt-dev] [PATCH i-g-t] tests/perf: add tests for triggered OA reports

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Mar 31 14:30:41 UTC 2020


On 31/03/2020 17:24, Chris Wilson wrote:
> Quoting Lionel Landwerlin (2020-03-31 12:47:46)
>> By whitelisting a couple of registers we can allow an application
> By whitelisting, through the i915_perf interface, a couple of...
>
> I was looking for how you found a way to set RING_NONPRIV. :)


Yeah, I'll give a try at whitelisting when OA is enabled.

I have another patch where I whitelist 3 ranges of OA perf counter 
registers (total 72dwords) on Gen12.


>
>> batch to trigger OA reports in the OA buffer by switching back & forth
>> an inverter on the condition logic.
> Test looks reasonable, but the specific mechanics of OA I can't comment


Yeah, I could enhance by adding stalls and verify the deltas, but I've 
checked in Mesa already and came up with piglit tests : 
https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/248


-Lionel

> on.
> -Chris




More information about the igt-dev mailing list