[igt-dev] [i-g-t V4 36/52] tests/kms_vrr: Add support for Bigjoiner

Thasleem, Mohammed mohammed.thasleem at intel.com
Fri Sep 30 06:56:53 UTC 2022


On 9/22/2022 9:29 PM, Bhanuprakash Modem wrote:
> This patch will add a check to Skip the subtest if a selected pipe/output
> combo won't support Bigjoiner or 8K mode.
> 
> Example:
> * Pipe-D wont support a mode > 5K
> * To use 8K mode on a pipe then consecutive pipe must be available & free.
> 
> V2: - Use updated helper name
> 
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> ---
>   tests/kms_vrr.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
> index 8976d4a6..619b3789 100644
> --- a/tests/kms_vrr.c
> +++ b/tests/kms_vrr.c
> @@ -444,6 +444,12 @@ run_vrr_test(data_t *data, test_t test, uint32_t flags)
>   
>   		for_each_pipe(&data->display, pipe) {
>   			if (igt_pipe_connector_valid(pipe, output)) {
> +				igt_display_reset(&data->display);
> +
> +				igt_output_set_pipe(output, pipe);
> +				if (!i915_pipe_output_combo_valid(&data->display))
> +					continue;
> +
>   				igt_dynamic_f("pipe-%s-%s",
>   					      kmstest_pipe_name(pipe), output->name)
>   					test(data, pipe, output, flags);
Reviewed-by: Mohammed Thasleem <mohammed.thasleem at intel.com>


More information about the igt-dev mailing list