[PATCH i-g-t v2] tests/fbdev: Skip resolution mismatch due to GitLab issue #2488
Naladala Ramanaidu
ramanaidu.naladala at intel.com
Sun Aug 24 19:48:22 UTC 2025
Add a conditional skip to handle cases where xres/yres do not
match xres_virtual/yres_virtual. This is a temporary
workaround for a GitLab issue #2488 that causes incorrect
virtual resolution reporting.
Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala at intel.com>
---
tests/fbdev.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tests/fbdev.c b/tests/fbdev.c
index fca688407..6edcd534e 100644
--- a/tests/fbdev.c
+++ b/tests/fbdev.c
@@ -170,6 +170,16 @@ static void mode_tests(int fd)
struct fb_var_screeninfo pan_var;
int expected_ret;
+ /*
+ * FIXME: This test skips when xres/yres do not match xres_virtual/yres_virtual
+ * due to a GitLab issue #2488 that causes incorrect virtual resolution reporting.
+ * Once the Gitlab issue is resolved this skip condition should be removed to
+ * restore full resolution validation.
+ */
+ igt_skip_on_f((var_info.xres != var_info.xres_virtual) ||
+ (var_info.yres != var_info.yres_virtual),
+ "Resolutions not matching\n");
+
memset(&pan_var, 0, sizeof(pan_var));
/*
--
2.43.0
More information about the igt-dev
mailing list