[PATCH i-g-t v5 6/7] tests/kms_cursor_legacy: flip_vs_cursor_busy_crc was requiring any driver but used intel x-tile
Clint Taylor
clinton.a.taylor at intel.com
Wed Dec 18 21:36:53 UTC 2024
From: Juha-pekka Heikkila <juha-pekka.heikkila at intel.com>
switch flip_vs_cursor_busy_crc to use linear framebuffer instead of x-tile. Xe3 not longer supports x-tiled modifier.
Signed-off-by: Juha-pekka Heikkila <juha-pekka.heikkila at intel.com>
Signed-off-by: Clint Taylor <Clinton.A.Taylor at intel.com>
---
tests/kms_cursor_legacy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 4e2cfde17..1f082df2d 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1679,7 +1679,7 @@ static void flip_vs_cursor_busy_crc(igt_display_t *display, bool atomic)
set_fb_on_crtc(display, pipe, output, &fb_info[0]);
plane_primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
igt_create_color_pattern_fb(display->drm_fd, fb_info[0].width, fb_info[0].height,
- DRM_FORMAT_XRGB8888, I915_FORMAT_MOD_X_TILED, .1, .1, .1, &fb_info[1]);
+ DRM_FORMAT_XRGB8888, DRM_FORMAT_MOD_LINEAR, .1, .1, .1, &fb_info[1]);
igt_create_color_fb(display->drm_fd, 64, 64, DRM_FORMAT_ARGB8888,
DRM_FORMAT_MOD_LINEAR, 1., 1., 1., &cursor_fb);
--
2.25.1
More information about the igt-dev
mailing list