Commit d406249b authored by Paulo Zanoni's avatar Paulo Zanoni

tests/pm_pc8: use intel_gen instead of a big IS_GEN check

Much better!
Signed-off-by: Paulo Zanoni's avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
parent 0a57d0b8
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment