[PATCH i-g-t v1] tests/fbdev: Skip resolution mismatch due to KMD issue

Naladala Ramanaidu ramanaidu.naladala at intel.com
Sun Aug 10 18:27:41 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 KMD
issue 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..9d386307f 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 KMD issue that causes incorrect virtual resolution reporting. Once
+		 * the KMD 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