[Intel-gfx] [PATCH i-g-t] tests/pm_sseu: Require Gen8+ early in setup
jeff.mcgee at intel.com
jeff.mcgee at intel.com
Fri Apr 3 18:01:12 PDT 2015
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>
---
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
More information about the Intel-gfx
mailing list