[Intel-gfx] [PATCH] lib/drmtest: skip suspend tests in simulation

Damien Lespiau damien.lespiau at intel.com
Thu Sep 12 14:30:11 CEST 2013


On Thu, Sep 12, 2013 at 02:02:30PM +0200, Daniel Vetter wrote:
> The simulator doesn't like this nor really support it :(
> 
> Cc: Ben Widawsky <benjamin.widawsky at intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Damien Lespiau <damien.lespiau at intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Aye! (I recall we don't really need that for i-g-t, but can't hurt)

Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

-- 
Damien

> ---
>  lib/drmtest.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/drmtest.c b/lib/drmtest.c
> index 9d4c5da..509db13 100644
> --- a/lib/drmtest.c
> +++ b/lib/drmtest.c
> @@ -2088,6 +2088,8 @@ void igt_system_suspend_autoresume(void)
>  {
>  	int ret;
>  
> +	igt_skip_on_simulation();
> +
>  	ret = system("rtcwake -s 30 -m mem");
>  	igt_assert(ret == 0);
>  }
> -- 
> 1.8.4.rc3
> 



More information about the Intel-gfx mailing list