diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-02-26 15:42:07 -0300 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-02-26 19:16:11 -0300 |
commit | d406249bedb61120ea3f8c780ea995b8c70d3d8c (patch) | |
tree | 5cf67854d66f3591d100c7bd7b8ed5b66e2ea4ef | |
parent | 0a57d0b8d30b73f7d515a2099355f7883681d699 (diff) |
tests/pm_pc8: use intel_gen instead of a big IS_GEN check
Much better!
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
-rw-r--r-- | tests/pm_pc8.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pm_pc8.c b/tests/pm_pc8.c index ab33d4191..53c1be300 100644 --- a/tests/pm_pc8.c +++ b/tests/pm_pc8.c @@ -1003,8 +1003,7 @@ static void debugfs_forcewake_user_subtest(void) { int fd, rc; - igt_require(!(IS_GEN2(ms_data.devid) || IS_GEN3(ms_data.devid) || - IS_GEN4(ms_data.devid) || IS_GEN5(ms_data.devid))); + igt_require(intel_gen(ms_data.devid) >= 6); disable_all_screens(&ms_data); igt_assert(wait_for_suspended()); |