mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +00:00
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>
This commit is contained in:
parent
0a57d0b8d3
commit
d406249bed
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user