diff options
author | Deepak S <deepak.s@linux.intel.com> | 2015-02-26 21:10:29 +0530 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-02-26 17:52:06 +0100 |
commit | 8e0a0c9de658931454ba2a549d922e7e9f534dea (patch) | |
tree | 9f293910d0cb3cbe41b11e7ece0096136f2ce64d | |
parent | af02ef4a483184dbd9a549e98f40a1975aa204fe (diff) |
tests/pm_rc6_residency: Add media_rc6_residency_counter subtest
Added new media_rc6_residency_subtest for chv & vlv.
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | tests/pm_rc6_residency.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/pm_rc6_residency.c b/tests/pm_rc6_residency.c index 1600ac32..f6152da0 100644 --- a/tests/pm_rc6_residency.c +++ b/tests/pm_rc6_residency.c @@ -135,7 +135,7 @@ igt_main { int fd; int devid = 0; - int rc6[2], rc6p[2], rc6pp[2]; + int rc6[2], rc6p[2], rc6pp[2], media[2]; igt_skip_on_simulation(); @@ -146,6 +146,9 @@ igt_main close(fd); read_rc6_residency(rc6, "rc6"); + if (IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid)) + read_rc6_residency(media, "media_rc6"); + if (IS_GEN6(devid) || IS_IVYBRIDGE(devid)) { read_rc6_residency(rc6p, "rc6p"); read_rc6_residency(rc6pp, "rc6pp"); @@ -154,6 +157,9 @@ igt_main igt_subtest("rc6-accuracy") residency_accuracy(rc6, "rc6"); + igt_subtest("media-rc6-accuracy") + if (IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid)) + residency_accuracy(media, "media_rc6"); igt_subtest("rc6p-accuracy") { if (!IS_GEN6(devid) && !IS_IVYBRIDGE(devid)) igt_skip("This platform doesn't support RC6p\n"); |