[igt-dev] [PATCH 09/10] tests/kms_fence_pin_leak: Skip test on devices without HW tiling support
Vanshidhar Konda
vanshidhar.r.konda at intel.com
Wed Dec 18 19:39:14 UTC 2019
This test is utilizing fences associated with tiled buffer objects. On
devices that don't have HW support for tiling/de-tiling these fences are
not available.
Signed-off-by: Vanshidhar Konda <vanshidhar.r.konda at intel.com>
---
tests/kms_fence_pin_leak.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_fence_pin_leak.c b/tests/kms_fence_pin_leak.c
index 8c9e10a5..a05039df 100644
--- a/tests/kms_fence_pin_leak.c
+++ b/tests/kms_fence_pin_leak.c
@@ -200,6 +200,8 @@ igt_simple_main
data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
igt_require_gem(data.drm_fd);
+ igt_require(gem_has_legacy_hw_tiling(data.drm_fd));
+ igt_require(gem_has_mappable_ggtt(data.drm_fd));
data.devid = intel_get_drm_devid(data.drm_fd);
--
2.24.0
More information about the igt-dev
mailing list