[PATCH i-g-t 08/56] tests/gem_bad_reloc: Skip on gens where relocations are not supported

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Jul 20 15:22:23 UTC 2021


Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
---
 tests/i915/gem_bad_reloc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_bad_reloc.c b/tests/i915/gem_bad_reloc.c
index 3ca0f3452..0e9c4c79c 100644
--- a/tests/i915/gem_bad_reloc.c
+++ b/tests/i915/gem_bad_reloc.c
@@ -195,6 +195,7 @@ igt_main
 		/* Check if relocations supported by platform */
 		igt_require(gem_has_relocations(fd));
 		gem_require_blitter(fd);
+		igt_require(gem_has_relocations(fd));
 	}
 
 	igt_subtest("negative-reloc")
-- 
2.26.0



More information about the Intel-gfx-trybot mailing list