[PATCH i-g-t 2/4] tests/i915/gem_lut_handle: Require relocation support
Andrzej Turko
andrzej.turko at linux.intel.com
Mon Aug 9 09:07:09 UTC 2021
This test only exercises relocations so it
must be skipped on generations which do not
support them.
Signed-off-by: Andrzej Turko <andrzej.turko at linux.intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
---
tests/i915/gem_lut_handle.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/gem_lut_handle.c b/tests/i915/gem_lut_handle.c
index 64dbb87c5..32f76aaa0 100644
--- a/tests/i915/gem_lut_handle.c
+++ b/tests/i915/gem_lut_handle.c
@@ -170,6 +170,7 @@ igt_simple_main
int fd, i;
fd = drm_open_driver(DRIVER_INTEL);
+ igt_require(gem_has_relocations(fd));
handle = gem_create(fd, 4096);
gem_write(fd, handle, 0, batch, sizeof(batch));
--
2.25.1
More information about the Intel-gfx-trybot
mailing list