From patchwork Thu Feb 26 15:40:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: deepak.s@linux.intel.com X-Patchwork-Id: 5894211 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4B152BF440 for ; Thu, 26 Feb 2015 15:43:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B08E203AC for ; Thu, 26 Feb 2015 15:43:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 6E52520394 for ; Thu, 26 Feb 2015 15:43:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DE68C6E7F0; Thu, 26 Feb 2015 07:43:47 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 343D36E7F0 for ; Thu, 26 Feb 2015 07:43:47 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 26 Feb 2015 07:43:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,653,1418112000"; d="scan'208";a="672108547" Received: from deepu.iind.intel.com ([10.223.82.32]) by fmsmga001.fm.intel.com with ESMTP; 26 Feb 2015 07:43:44 -0800 From: deepak.s@linux.intel.com To: intel-gfx@lists.freedesktop.org Date: Thu, 26 Feb 2015 21:10:29 +0530 Message-Id: <1424965229-16691-3-git-send-email-deepak.s@linux.intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424965229-16691-1-git-send-email-deepak.s@linux.intel.com> References: <1424965229-16691-1-git-send-email-deepak.s@linux.intel.com> Subject: [Intel-gfx] [PATCH 2/2] tests/pm_rc6_residency: Add media_rc6_residency_counter subtest X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Deepak S Added new media_rc6_residency_subtest for chv & vlv. Signed-off-by: Deepak S --- 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");