All of lore.kernel.org
 help / color / mirror / Atom feed
From: deepak.s@linux.intel.com
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 2/2] tests/pm_rc6_residency: Add media_rc6_residency_counter subtest
Date: Thu, 26 Feb 2015 21:10:29 +0530	[thread overview]
Message-ID: <1424965229-16691-3-git-send-email-deepak.s@linux.intel.com> (raw)
In-Reply-To: <1424965229-16691-1-git-send-email-deepak.s@linux.intel.com>

From: Deepak S <deepak.s@linux.intel.com>

Added new media_rc6_residency_subtest for  chv & vlv.

Signed-off-by: Deepak S <deepak.s@linux.intel.com>
---
 tests/pm_rc6_residency.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/pm_rc6_residency.c b/tests/pm_rc6_residency.c
index 1600ac3..f6152da 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");
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2015-02-26 15:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26 15:40 [PATCH] drm/i915: Add media rc6 residency file to sysfs deepak.s
2015-02-26 15:40 ` [PATCH 1/2] tests/pm_rc6_residency: Fix proper residency calculation deepak.s
2015-02-26 15:40 ` deepak.s [this message]
2015-02-26 16:52   ` [PATCH 2/2] tests/pm_rc6_residency: Add media_rc6_residency_counter subtest Daniel Vetter
2015-02-26 16:48 ` [PATCH] drm/i915: Add media rc6 residency file to sysfs Daniel Vetter
2015-02-28 17:08 ` shuang.he

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424965229-16691-3-git-send-email-deepak.s@linux.intel.com \
    --to=deepak.s@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.