Don't try to evaluate whether reads executed on an absent ring do
anything.

Signed-off-by: Chris Wilson <[email protected]>
---
 tests/i915/gem_mocs_settings.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/i915/gem_mocs_settings.c b/tests/i915/gem_mocs_settings.c
index 21f7c6e12..1a311b8c0 100644
--- a/tests/i915/gem_mocs_settings.c
+++ b/tests/i915/gem_mocs_settings.c
@@ -564,8 +564,8 @@ igt_main
                        }
                }
 
-               igt_subtest_f("mocs-isolation-%s",
-                             e->name) {
+               igt_subtest_f("mocs-isolation-%s", e->name) {
+                       gem_require_ring(fd, e->exec_id | e->flags);
                        gem_require_contexts(fd);
 
                        isolation_test(fd, e->exec_id | e->flags);
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to