[igt-dev] [PATCH i-g-t] i915/gem_tiled_wb: skip on devices without mappable aperture

Ashutosh Dixit ashutosh.dixit at intel.com
Tue May 19 19:02:57 UTC 2020


From: Vanshidhar Konda <vanshidhar.r.konda at intel.com>

Skip on devices without mappable aperture.

Signed-off-by: Vanshidhar Konda <vanshidhar.r.konda at intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
 tests/i915/gem_tiled_wb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_tiled_wb.c b/tests/i915/gem_tiled_wb.c
index b7f352fc7..b61a1b2e8 100644
--- a/tests/i915/gem_tiled_wb.c
+++ b/tests/i915/gem_tiled_wb.c
@@ -139,6 +139,7 @@ igt_simple_main
 	uint32_t handle;
 
 	fd = drm_open_driver(DRIVER_INTEL);
+	gem_require_mappable_ggtt(fd);
 
 	handle = create_bo(fd);
 	get_tiling(fd, handle, &tiling, &swizzle);
-- 
2.26.2.593.gb994622632



More information about the igt-dev mailing list