[PATCH i-g-t] tests/intel/kms_fbcon_fbt: Use linear instead of x tiled

Jouni Högander jouni.hogander at intel.com
Mon Oct 21 10:33:26 UTC 2024


PTL doesn't support x tiled format. There is no specific reason to use x
tiled format in this testcase: switch to linear format.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 tests/intel/kms_fbcon_fbt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/kms_fbcon_fbt.c b/tests/intel/kms_fbcon_fbt.c
index 6d134ea62..724988cd8 100644
--- a/tests/intel/kms_fbcon_fbt.c
+++ b/tests/intel/kms_fbcon_fbt.c
@@ -221,7 +221,7 @@ static void set_mode_for_one_screen(struct drm_info *drm,
 
 	buffer_id = igt_create_fb(drm->fd, mode->hdisplay, mode->vdisplay,
 				  DRM_FORMAT_XRGB8888,
-				  I915_FORMAT_MOD_X_TILED, &drm->fb);
+				  DRM_FORMAT_MOD_LINEAR, &drm->fb);
 	igt_draw_fill_fb(drm->fd, &drm->fb, 0xFF);
 
 	igt_info("Setting %dx%d mode for %s connector\n",
-- 
2.34.1



More information about the igt-dev mailing list