[Intel-gfx] [PATCH] drm/i915/perf: Configure OAR controls for specific context

Umesh Nerlige Ramappa umesh.nerlige.ramappa at intel.com
Thu Nov 7 23:41:05 UTC 2019


On Thu, Nov 07, 2019 at 11:30:51PM +0000, Chris Wilson wrote:
>Quoting Umesh Nerlige Ramappa (2019-11-07 23:22:34)
>> It turns out that the OAR CONTROL register is not getting configured
>> correctly in conjunction with the context save/restore bit. When
>> measuring work for a single context, the OAR counters do not increment.
>>
>> Configure OAR format and enable OAR counters at the same time as
>> enabling context save/restore for OAR counters.
>
>Did you write a test case to capture this bug for posterity? If so,
>please include a Testcase: link. If not, please do so :)

I did, although the test is also up for review here in an igt series - 
https://patchwork.freedesktop.org/patch/339514/

Thanks,
Umesh

>-Chris


More information about the Intel-gfx mailing list