[igt-dev] [PATCH i-g-t] tests/kms_display_modes: Skip the negative test on MST Hub

Lisovskiy, Stanislav stanislav.lisovskiy at intel.com
Thu Aug 3 17:46:18 UTC 2023


On Fri, Jul 07, 2023 at 09:07:20PM +0530, Thasleem, Mohammed wrote:
> Skip the test on which MST hub which support bandwidth for 2k-4k
> and 4k-4k multi displays.
> 
> Signed-off-by: Thasleem, Mohammed <mohammed.thasleem at intel.com>
> ---
>  tests/kms_display_modes.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
> index 4bebb25e..8e117695 100644
> --- a/tests/kms_display_modes.c
> +++ b/tests/kms_display_modes.c
> @@ -310,6 +310,7 @@ static void run_extendedmode_negative(data_t *data, int pipe1, int pipe2)
>  
>  	igt_require(i915_pipe_output_combo_valid(display));
>  	ret = igt_display_try_commit2(display, COMMIT_ATOMIC);
> +	igt_skip_on_f(ret == 0, "MST Hub supports bandwidth on multi display\n");

Hi Mohammed,

How do we know if it is MST hub here?

>  	igt_assert(ret != 0 && errno == ENOSPC);
>  }
>  
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list