Since we only run test_readonly for a single sync-flag, place it in the
common block.

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

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)
-- 
2.30.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to