diff options
| author | Chris Wilson <[email protected]> | 2020-03-25 10:15:02 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-03-25 11:33:05 +0000 |
| commit | 032d992dcbefb1e6a43832fa36c0da11b6b64741 (patch) | |
| tree | d996f6bfa5efe192bfc00f7a2e804e966dd38992 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9bf7c31386e511cc9671a252886dcb080bf08579 (diff) | |
drm/i915/selftests: Measure the energy consumed while in RC6
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 MSR, then it will report 0
for both measurements. Since the measurement works on all gen6+, this seems
worth flagging as an error.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Andi Shyti <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions