Thread (6 messages) 6 messages, 3 authors, 2021-03-25

[igt-dev] [PATCH i-g-t 1/3] tests/kms_cursor_crc: Remove the max_w==max_h requirement

From: Ville Syrjala <hidden>
Date: 2021-03-24 18:17:39
Subsystem: the rest · Maintainer: Linus Torvalds

From: Ville Syrjälä <redacted>

The test works fine even if the max cursor size is not square.

Signed-off-by: Ville Syrjälä <redacted>
---
 tests/kms_cursor_crc.c | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 13d6156c9c77..7068475e04b1 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -798,9 +798,6 @@ igt_main
 		ret = drmGetCap(data.drm_fd, DRM_CAP_CURSOR_HEIGHT, &cursor_height);
 		igt_assert(ret == 0 || errno == EINVAL);
 
-		/* We assume width and height are same so max is assigned width */
-		igt_assert_eq(cursor_width, cursor_height);
-
 		kmstest_set_vt_graphics_mode();
 
 		igt_require_pipe_crc(data.drm_fd);
-- 
2.26.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help