[igt-dev] [PATCH i-g-t] tests/psr: Skip kms_psr on pre-Gen9 hardware
Dhinakaran Pandiyan
dhinakaran.pandiyan at gmail.com
Thu Aug 30 07:19:56 UTC 2018
CI runs show PSR tests failing on the recently added BDW (fi-bdw-samus), it
makes sense to enable these tests when we know they are expected to pass.
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
---
tests/kms_psr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_psr.c b/tests/kms_psr.c
index 218b3960..52b71826 100644
--- a/tests/kms_psr.c
+++ b/tests/kms_psr.c
@@ -411,6 +411,7 @@ int main(int argc, char *argv[])
data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
kmstest_set_vt_graphics_mode();
data.devid = intel_get_drm_devid(data.drm_fd);
+ igt_require(AT_LEAST_GEN(data.devid, 9));
igt_set_module_param_int("enable_psr", data.with_psr_disabled ?
0 : 1);
--
2.17.1
More information about the igt-dev
mailing list