Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: "igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH i-g-t] kms_frontbuffer_tracking: Fix PSR reporting after PSR active flag is removed.
Date: Fri, 16 Mar 2018 17:26:24 +0100	[thread overview]
Message-ID: <ba22ddea-e33c-9e1d-9794-c8c1cae17b79@linux.intel.com> (raw)
In-Reply-To: <20180316161657.21398-1-maarten.lankhorst@linux.intel.com>

Op 16-03-18 om 17:16 schreef Maarten Lankhorst:
> Either the main link in standby mode or hw enabled is enough to
> say that PSR is activated, so just use both.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105519
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> ---
>  tests/kms_frontbuffer_tracking.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
> index 454103d367c7..e4da706b0631 100644
> --- a/tests/kms_frontbuffer_tracking.c
> +++ b/tests/kms_frontbuffer_tracking.c
> @@ -781,7 +781,7 @@ static bool psr_is_enabled(void)
>  	char buf[256];
>  
>  	debugfs_read("i915_edp_psr_status", buf);
> -	return strstr(buf, "\nActive: yes\n") &&
> +	return strstr(buf, "\nMain link in standby mode: yes\n") ||
>  	       strstr(buf, "\nHW Enabled & Active bit: yes\n");
>  }
>  

Nm, other patch is better, carry on. :)

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2018-03-16 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16 16:16 [igt-dev] [PATCH i-g-t] kms_frontbuffer_tracking: Fix PSR reporting after PSR active flag is removed Maarten Lankhorst
2018-03-16 16:26 ` Maarten Lankhorst [this message]
2018-03-16 18:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-03-16 23:01 ` [igt-dev] ✗ Fi.CI.IGT: warning " Patchwork

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=ba22ddea-e33c-9e1d-9794-c8c1cae17b79@linux.intel.com \
    --to=maarten.lankhorst@linux.intel.com \
    --cc=igt-dev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox