[Intel-gfx] [PATCH igt] igt/perf_pmu: Combine rc6/rc6p tests

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Fri Nov 24 10:01:35 UTC 2017


On 24/11/2017 09:24, Chris Wilson wrote:
> Quoting Chris Wilson (2017-11-24 09:23:22)
>> How? How do you tell if rc6 is not incrementing because (a) the hw is
>> busy, (b) the hw is idle but in a different rc6 state, or (c) the pmu is
>> broken.
> 
> Case in point is rc6p on shard-snb, where rc6p is disabled but the
> pmu event still exists. It disabled by the kernel itself, but since the
> pmu exists we expect it to increment.

You mean I should be checking for more than HAS_RC6p when allowing an 
event to be opened?

If I can fix that, then I was thinking the rc6p subtest would just need 
to be updated to only open the RC6p counter, and rc6 subtest would only 
open the RC6 one.

Or RC6 not incrementing while in RC6p is only true on some platforms?

Or I am not understanding something which is possible.

Regards,

Tvrtko


More information about the Intel-gfx mailing list