diff mbox series

[i-g-t] i915/gem_userptr_blts: Move readonly test into common block

Message ID 20210212142942.27603-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series [i-g-t] i915/gem_userptr_blts: Move readonly test into common block | expand

Commit Message

Chris Wilson Feb. 12, 2021, 2:29 p.m. UTC
Since we only run test_readonly for a single sync-flag, place it in the
common block.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/i915/gem_userptr_blits.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c
index 1bc2d3600..a4f137f93 100644
--- a/tests/i915/gem_userptr_blits.c
+++ b/tests/i915/gem_userptr_blits.c
@@ -2474,6 +2474,9 @@  igt_main_args("c:", NULL, help_str, opt_handler, NULL)
 		igt_subtest("set-cache-level")
 			test_set_caching(fd);
 
+		igt_subtest("readonly")
+			test_readonly(fd);
+
 		igt_subtest("userfault")
 			test_userfault(fd);
 
@@ -2515,9 +2518,6 @@  igt_main_args("c:", NULL, help_str, opt_handler, NULL)
 		igt_subtest("dmabuf-unsync")
 			test_dmabuf();
 
-		igt_subtest("readonly-unsync")
-			test_readonly(fd);
-
 		igt_describe("Examine mmap-offset mapping to read-only userptr");
 		igt_subtest_with_dynamic("readonly-mmap-unsync")
 			for_each_mmap_offset_type(fd, t)