[igt-dev] [PATCH i-g-t 9/9] tests/gem_tiling_max_stride: Skip if set tiling is not supported
Ramalingam C
ramalingam.c at intel.com
Fri Jan 31 17:31:09 UTC 2020
When mmapable aperture is not supported set tiling also not supported.
Hence skip the test.
Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
---
tests/i915/gem_tiling_max_stride.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/gem_tiling_max_stride.c b/tests/i915/gem_tiling_max_stride.c
index 0e99d979f0ca..77f7223ba19b 100644
--- a/tests/i915/gem_tiling_max_stride.c
+++ b/tests/i915/gem_tiling_max_stride.c
@@ -71,6 +71,7 @@ igt_simple_main
fd = drm_open_driver(DRIVER_INTEL);
devid = intel_get_drm_devid(fd);
+ gem_require_mappable_ggtt(fd);
if (intel_gen(devid) >= 7) {
stride = 256 * 1024;
--
2.20.1
More information about the igt-dev
mailing list