Re: [PATCH i-g-t] tests/pm_sseu: Require Gen8+ early in setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 03, 2015 at 06:01:12PM -0700, jeff.mcgee@xxxxxxxxx wrote:
> From: Jeff McGee <jeff.mcgee@xxxxxxxxx>
> 
> Pre-Gen8 devices should be skipped early instead of failing
> when test resources are not found.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89822
> Signed-off-by: Jeff McGee <jeff.mcgee@xxxxxxxxx>

Applied, thanks.
-Daniel

> ---
>  tests/pm_sseu.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/pm_sseu.c b/tests/pm_sseu.c
> index 34465db..320371f 100644
> --- a/tests/pm_sseu.c
> +++ b/tests/pm_sseu.c
> @@ -262,6 +262,8 @@ gem_init(void)
>  
>  	gem.devid = intel_get_drm_devid(gem.drm_fd);
>  	gem.gen = intel_gen(gem.devid);
> +	igt_require_f(gem.gen >= 8,
> +		      "SSEU power gating only relevant for Gen8+");
>  	gem.has_ppgtt = gem_uses_aliasing_ppgtt(gem.drm_fd);
>  
>  	gem.bufmgr = drm_intel_bufmgr_gem_init(gem.drm_fd, 4096);
> -- 
> 2.3.3
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux