Re: [Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

2015-10-28 Thread David Weinehall
On Tue, Oct 27, 2015 at 10:02:09AM -0700, Jesse Barnes wrote: > > Depending on what the hardware supports, for hibernate to disk there's ipmi > > power-on. > > > > ipmi-power -h $hostname --stat will show the status of the machine, > > ipmi-power -h $hostname --on will power it on. > > > >

Re: [Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

2015-10-28 Thread David Weinehall
On Tue, Oct 27, 2015 at 07:29:39PM +0200, Ville Syrjälä wrote: > On Tue, Oct 27, 2015 at 08:58:17AM +0200, David Weinehall wrote: > > On Fri, Oct 23, 2015 at 12:39:31PM -0700, Jesse Barnes wrote: > > > On 10/22/2015 01:35 PM, ville.syrj...@linux.intel.com wrote: > > > > From: Ville Syrjälä

Re: [Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

2015-10-27 Thread David Weinehall
On Fri, Oct 23, 2015 at 12:39:31PM -0700, Jesse Barnes wrote: > On 10/22/2015 01:35 PM, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Do a dry run with rtcwake first to determine if the system even supports > > the intended suspend state. If

Re: [Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

2015-10-27 Thread Jesse Barnes
On 10/26/2015 11:58 PM, David Weinehall wrote: > On Fri, Oct 23, 2015 at 12:39:31PM -0700, Jesse Barnes wrote: >> On 10/22/2015 01:35 PM, ville.syrj...@linux.intel.com wrote: >>> From: Ville Syrjälä >>> >>> Do a dry run with rtcwake first to determine if the system

Re: [Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

2015-10-27 Thread Ville Syrjälä
On Tue, Oct 27, 2015 at 08:58:17AM +0200, David Weinehall wrote: > On Fri, Oct 23, 2015 at 12:39:31PM -0700, Jesse Barnes wrote: > > On 10/22/2015 01:35 PM, ville.syrj...@linux.intel.com wrote: > > > From: Ville Syrjälä > > > > > > Do a dry run with rtcwake first

Re: [Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

2015-10-23 Thread Jesse Barnes
On 10/22/2015 01:35 PM, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Do a dry run with rtcwake first to determine if the system even supports > the intended suspend state. If not, skip the test. > > Fixes a bunch of stuff on my BYT FFRD8 that

[Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

2015-10-22 Thread ville . syrjala
From: Ville Syrjälä Do a dry run with rtcwake first to determine if the system even supports the intended suspend state. If not, skip the test. Fixes a bunch of stuff on my BYT FFRD8 that doesn't support S3. Signed-off-by: Ville Syrjälä

Re: [Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

2015-10-22 Thread Daniel Vetter
On Thu, Oct 22, 2015 at 10:35 PM, wrote: > diff --git a/lib/igt_aux.c b/lib/igt_aux.c > index 04ca25b..f3c76ae 100644 > --- a/lib/igt_aux.c > +++ b/lib/igt_aux.c > @@ -357,6 +357,9 @@ void igt_system_suspend_autoresume(void) > * seems to fare better. We