[igt-dev] [PATCH i-g-t] tests/i915/gem_tiled_partial_pwrite_pread: Confirm presence of aperture

Vinay Belgaumkar vinay.belgaumkar at intel.com
Sat Feb 1 04:12:25 UTC 2020


Check if aperture exists before attempting tiling related tests.

Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
---
 tests/i915/gem_tiled_partial_pwrite_pread.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_tiled_partial_pwrite_pread.c b/tests/i915/gem_tiled_partial_pwrite_pread.c
index 9d15cdf1..399c118f 100644
--- a/tests/i915/gem_tiled_partial_pwrite_pread.c
+++ b/tests/i915/gem_tiled_partial_pwrite_pread.c
@@ -267,6 +267,7 @@ igt_main
 	igt_fixture {
 		fd = drm_open_driver(DRIVER_INTEL);
 		igt_require_gem(fd);
+		gem_require_mappable_ggtt(fd);
 		gem_require_blitter(fd);
 
 		bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
-- 
2.22.0.245.g4d8ec15c66



More information about the igt-dev mailing list