[Intel-gfx] [PATCH i-g-t] tests/pm_sseu: Require Gen8+ early in setup
Daniel Vetter
daniel at ffwll.ch
Tue Apr 7 01:57:26 PDT 2015
On Fri, Apr 03, 2015 at 06:01:12PM -0700, jeff.mcgee at intel.com wrote:
> From: Jeff McGee <jeff.mcgee at intel.com>
>
> 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 at intel.com>
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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list