[igt-dev] [PATCH i-g-t] tests/i915/gem_set_tiling_vs_pwrite: disable test on gens without ggtt

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Feb 4 07:21:22 UTC 2020


Test requires fences to map via ggtt so we can skip it on newer gens.

Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/i915/gem_set_tiling_vs_pwrite.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_set_tiling_vs_pwrite.c b/tests/i915/gem_set_tiling_vs_pwrite.c
index 25a28191..b37a2ee4 100644
--- a/tests/i915/gem_set_tiling_vs_pwrite.c
+++ b/tests/i915/gem_set_tiling_vs_pwrite.c
@@ -55,6 +55,7 @@ igt_simple_main
 	uint32_t handle;
 
 	fd = drm_open_driver(DRIVER_INTEL);
+	gem_require_mappable_ggtt(fd);
 
 	for (i = 0; i < OBJECT_SIZE/4; i++)
 		data[i] = i;
-- 
2.23.0



More information about the igt-dev mailing list