All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_async_flips: Skip the Y<->X tile test on pre-skl
@ 2021-01-11 16:16 Ville Syrjala
  2021-01-11 16:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ville Syrjala @ 2021-01-11 16:16 UTC (permalink / raw)
  To: igt-dev

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Pre-skl display engine does not support Y-tiling so the
addfb will fail. Skip the test on such platforms.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 tests/kms_async_flips.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
index dea23cf9ef15..e397a54b874f 100644
--- a/tests/kms_async_flips.c
+++ b/tests/kms_async_flips.c
@@ -335,6 +335,9 @@ static void test_invalid(data_t *data)
 	width = data->connector->modes[0].hdisplay;
 	height = data->connector->modes[0].vdisplay;
 
+	igt_require(igt_display_has_format_mod(&data->display, DRM_FORMAT_XRGB8888,
+					       LOCAL_I915_FORMAT_MOD_Y_TILED));
+
 	igt_create_fb(data->drm_fd, width, height, DRM_FORMAT_XRGB8888,
 		      LOCAL_I915_FORMAT_MOD_Y_TILED, &fb);
 
-- 
2.26.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-21 21:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 16:16 [igt-dev] [PATCH i-g-t] tests/kms_async_flips: Skip the Y<->X tile test on pre-skl Ville Syrjala
2021-01-11 16:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-01-11 18:49 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-01-21 21:38 ` [igt-dev] [PATCH i-g-t] " Juha-Pekka Heikkilä

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.