[igt-dev] [PATCH i-g-t 2/9] tests/intel_dp_compliance: Skip tests as tiling is not supported

Ramalingam C ramalingam.c at intel.com
Fri Jan 31 17:31:02 UTC 2020


Skip the test if the tiling is not supported on the platforms.

Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
---
 tools/intel_dp_compliance.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/intel_dp_compliance.c b/tools/intel_dp_compliance.c
index 5cc3d37a71d6..8f4ea3f3d328 100644
--- a/tools/intel_dp_compliance.c
+++ b/tools/intel_dp_compliance.c
@@ -1043,6 +1043,8 @@ int main(int argc, char **argv)
 	drm_fd = drm_open_driver(DRIVER_ANY);
 	gen = intel_gen(intel_get_drm_devid(drm_fd));
 
+	/* Set tiling is not supported on newer platforms */
+	gem_require_mappable_ggtt(drm_fd);
 	kmstest_set_vt_graphics_mode();
 	setup_debugfs_files();
 	cleanup_test();
-- 
2.20.1



More information about the igt-dev mailing list