Re: [Intel-gfx] [PATCH igt 2/2] igt/perf_pmu: Replace hard-coded sleep before rc6 with a probe

2017-12-05 Thread Chris Wilson
Quoting Tvrtko Ursulin (2017-12-05 12:05:14) > > On 05/12/2017 10:56, Chris Wilson wrote: > > Instead of trying to sleep for 2 evaluations intervals and then assuming > > that rc6 is working, poll the rc6 residency instead. > > > > References: https://bugs.freedesktop.org/show_bug.cgi?id=103929 >

Re: [Intel-gfx] [PATCH igt 2/2] igt/perf_pmu: Replace hard-coded sleep before rc6 with a probe

2017-12-05 Thread Tvrtko Ursulin
On 05/12/2017 10:56, Chris Wilson wrote: Instead of trying to sleep for 2 evaluations intervals and then assuming that rc6 is working, poll the rc6 residency instead. References: https://bugs.freedesktop.org/show_bug.cgi?id=103929 Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- tests/per

[Intel-gfx] [PATCH igt 2/2] igt/perf_pmu: Replace hard-coded sleep before rc6 with a probe

2017-12-05 Thread Chris Wilson
Instead of trying to sleep for 2 evaluations intervals and then assuming that rc6 is working, poll the rc6 residency instead. References: https://bugs.freedesktop.org/show_bug.cgi?id=103929 Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- tests/perf_pmu.c | 16 +++- 1 file changed