[igt-dev] [PATCH i-g-t] i915/gem_exec_parallel: Drop gem_require_pread_pwrite check from userptr tests
Ashutosh Dixit
ashutosh.dixit at intel.com
Thu Mar 18 01:29:52 UTC 2021
Since 0b6967520b ("tests: Do not use pread on userptr in
gem_exec_parallel.") gem_exec_parallel userptr tests no longer use pread so
gem_require_pread_pwrite check is not needed.
Fixes: ad5eb02eb3 ("lib/ioctl_wrappers: Keep IGT working without pread/pwrite ioctls")
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
tests/i915/gem_exec_parallel.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tests/i915/gem_exec_parallel.c b/tests/i915/gem_exec_parallel.c
index 73cdc94b7e..c9cf9d7afa 100644
--- a/tests/i915/gem_exec_parallel.c
+++ b/tests/i915/gem_exec_parallel.c
@@ -211,9 +211,6 @@ static void all(int fd, struct intel_execution_engine2 *engine, unsigned flags)
if (flags & CONTEXTS)
gem_require_contexts(fd);
- if (flags & USERPTR)
- gem_require_pread_pwrite(fd);
-
if (flags & FDS) {
igt_require(gen > 5);
igt_require(igt_allow_unlimited_files());
--
2.29.2
More information about the igt-dev
mailing list