Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dhinakaran Pandiyan <dhinakaran.pandiyan@gmail.com>
To: intel-gfx@lists.freedesktop.org
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [PATCH i-g-t] tests/psr: Dump PSR debugfs contents if PSR entry times out.
Date: Tue, 19 Dec 2017 20:49:45 -0800	[thread overview]
Message-ID: <1919379.yWQeVBNqW6@dk> (raw)
In-Reply-To: <20171219220247.cwj42schyyzrusx7@intel.com>

On Tuesday, December 19, 2017 2:02:47 PM PST Rodrigo Vivi wrote:
> On Tue, Dec 12, 2017 at 10:28:35PM +0000, Dhinakaran Pandiyan wrote:
> > 	(kms_psr_sink_crc:1717) CRITICAL: Failed assertion:
> > 	wait_psr_entry(&data)
> > 	(kms_psr_sink_crc:1717) CRITICAL: Last errno: 25, Inappropriate ioctl
> > 	for device
> > 
> > isn't very useful, the Source_OK field would have indicated that the
> > requirements to enable PSR weren't met in this case.
> 
> Is this still the case with the source_ok getting killed?

"Enabled:"  will do the same job, conveying whether an attempt to enable PSR 
was made.

> 
> > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> > ---
> > 
> >  tests/kms_psr_sink_crc.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
> > index 831368b2..c586d6e1 100644
> > --- a/tests/kms_psr_sink_crc.c
> > +++ b/tests/kms_psr_sink_crc.c
> > @@ -223,6 +223,7 @@ static bool wait_psr_entry(data_t *data)
> > 
> >  			return true;
> >  		
> >  		sleep(1);
> >  	
> >  	}
> > 
> > +	igt_debugfs_dump(data->drm_fd, "i915_edp_psr_status");
> 
> anyways seems a good thing to have...
> so, with the commit message modified feel free to use:
> 
> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>

Thanks!
 
> >  	return false;
> >  
> >  }
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


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

  reply	other threads:[~2017-12-20  4:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 22:28 [PATCH i-g-t] tests/psr: Dump PSR debugfs contents if PSR entry times out Dhinakaran Pandiyan
2017-12-12 22:55 ` ✗ Fi.CI.BAT: failure for " Patchwork
2017-12-19 22:02 ` [PATCH i-g-t] " Rodrigo Vivi
2017-12-20  4:49   ` Dhinakaran Pandiyan [this message]
2017-12-20  4:58 ` [PATCH i-g-t v2] " Dhinakaran Pandiyan
2017-12-20  5:29 ` ✓ Fi.CI.BAT: success for tests/psr: Dump PSR debugfs contents if PSR entry times out. (rev2) Patchwork
2017-12-20  6:57 ` ✓ Fi.CI.IGT: " 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=1919379.yWQeVBNqW6@dk \
    --to=dhinakaran.pandiyan@gmail.com \
    --cc=dhinakaran.pandiyan@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@intel.com \
    /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