[igt-dev] [PATCH i-g-t 3/6] RFC tests/i915/kms_frontbuffer_tracking: xe doesn't support tiling as of now

Kunal Joshi kunal1.joshi at intel.com
Wed May 31 13:48:28 UTC 2023


XE doesn't support tiling as of now, so set tiling to linear

Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
---
 tests/i915/kms_frontbuffer_tracking.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/i915/kms_frontbuffer_tracking.c b/tests/i915/kms_frontbuffer_tracking.c
index 3bef46b6..5e9fb55a 100644
--- a/tests/i915/kms_frontbuffer_tracking.c
+++ b/tests/i915/kms_frontbuffer_tracking.c
@@ -1349,6 +1349,12 @@ static void setup_drm(void)
 	 */
 	is_xe = is_xe_device(drm.fd);
 
+	/*
+	 * XE only support linear tiling
+	 */
+	if (is_xe)
+		opt.tiling = TILING_LINEAR;
+
 	kmstest_set_vt_graphics_mode();
 	igt_display_require(&drm.display, drm.fd);
 
-- 
2.25.1



More information about the igt-dev mailing list