[Intel-gfx] [CI] drm/i915/selftests: Measure the energy consumed while in RC6

2020-03-25 Thread Chris Wilson
Measure and compare the energy consumed, as reported by the rapl MSR, by the GPU while in RC0 and RC6 states. Throw an error if RC6 does not at least halve the energy consumption of RC0, as this more than likely means we failed to enter RC0 correctly. If we can't measure the energy draw with the M

[Intel-gfx] [CI] drm/i915/selftests: Measure the energy consumed while in RC6

2020-03-25 Thread Chris Wilson
Measure and compare the energy consumed, as reported by the rapl MSR, by the GPU while in RC0 and RC6 states. Throw an error if RC6 does not at least halve the energy consumption of RC0, as this more than likely means we failed to enter RC0 correctly. If we can't measure the energy draw with the M