[igt-dev] [PATCH i-g-t 1/3] tests/kms_cursor_crc: limit test to one pipe for sim
Swati Sharma
swati2.sharma at intel.com
Fri May 26 06:45:18 UTC 2023
To reduce execution time in simulation, lets limit test to
one pipe only.
Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
tests/kms_cursor_crc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 3a353a03..f837dbc4 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -728,6 +728,10 @@ static bool execution_constraint(enum pipe pipe)
pipe != active_pipes[last_pipe])
return true;
+ if (!extended && igt_run_in_simulation() &&
+ pipe != active_pipes[0])
+ return true;
+
return false;
}
--
2.25.1
More information about the igt-dev
mailing list