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

Sharma, Swati2 swati2.sharma at intel.com
Mon Aug 11 05:50:31 UTC 2025


Hi Ramanaidu,

Can you please mention which KMD issue we are referring here?
Do we have gitlab issue# ?

On 10-08-2025 11:57 pm, Naladala Ramanaidu wrote:
> 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));
>   
>   		/*



More information about the igt-dev mailing list