[PATCH i-g-t] tests/kms_display_modes: Skip test if big joiner display is connected

Reddy Guddati, Santhosh santhosh.reddy.guddati at intel.com
Wed Oct 30 02:44:51 UTC 2024



On 29-10-2024 14:54, Jeevan B wrote:
> High-resolution displays that support big joiner can cause extended mode
> tests to fail. This commit introduces a check to skip these tests if a
> big joiner display is connected, ensuring the test suite runs smoothly
> without unnecessary failures.
> 
> Signed-off-by: Jeevan B <jeevan.b at intel.com>
> ---
>   tests/kms_display_modes.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
> index f1d8ab03d..0950cc483 100644
> --- a/tests/kms_display_modes.c
> +++ b/tests/kms_display_modes.c
> @@ -318,6 +318,12 @@ igt_main
>   		igt_display_require_output(&data.display);
>   
>   		for_each_connected_output(&data.display, output) {
> +			drmModeConnector *connector = output->config.connector;
> +			drmModeModeInfo mode;
> +			int max_dotclock = igt_get_max_dotclock(data.drm_fd);
> +
> +			igt_require_f(!bigjoiner_mode_found(data.drm_fd, connector, max_dotclock, &mode),
> +				      "Big Joiner Connector Found Unsupported Config\n");
 >> Hi Jeevan,
	Do we need to skip ultra joiner outputs as well here?
>   			data.mst_output[count++] = output;
>   			if (output_is_dp_mst(&data, output, dp_mst_outputs))
>   				dp_mst_outputs++;



More information about the igt-dev mailing list