From: Daniel Vetter Subject: Re: [PATCH] tests/pm_pc8: skip the test if runtime PM is disabled Date: Fri, 25 Apr 2014 10:08:50 +0200 Message-ID: <20140425080850.GN26374@phenom.ffwll.local> References: <1398410997-13103-1-git-send-email-imre.deak@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by gabe.freedesktop.org (Postfix) with ESMTP id 7767D6EDE7 for ; Fri, 25 Apr 2014 01:08:54 -0700 (PDT) Received: by mail-ee0-f46.google.com with SMTP id t10so2535970eei.19 for ; Fri, 25 Apr 2014 01:08:53 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1398410997-13103-1-git-send-email-imre.deak@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Imre Deak Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Apr 25, 2014 at 10:29:57AM +0300, Imre Deak wrote: > The PC8 state won't be entered unless runtime PM is enabled, so support > for PC8 residency counters alone is not enough to run this test. > > Signed-off-by: Imre Deak Reviewed-by: Daniel Vetter > --- > tests/pm_pc8.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/pm_pc8.c b/tests/pm_pc8.c > index 010af44..9a95326 100644 > --- a/tests/pm_pc8.c > +++ b/tests/pm_pc8.c > @@ -769,7 +769,7 @@ static void setup_environment(void) > printf("Runtime PM support: %d\n", has_runtime_pm); > printf("PC8 residency support: %d\n", has_pc8); > > - igt_require(has_runtime_pm || has_pc8); > + igt_require(has_runtime_pm); > } > > static void teardown_environment(void) > -- > 1.8.4 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch