Re: [igt-dev] [i-g-t V3 25/52] tests/kms_plane_lowres: Add support for Bigjoiner

Karthik B S
2022-09-14T04:53:12Z

On 9/9/2022 7:33 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@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> ---
> tests/kms_plane_lowres.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/kms_plane_lowres.c b/tests/kms_plane_lowres.c
> index f37dbd16..9d60a196 100644
> --- a/tests/kms_plane_lowres.c
> +++ b/tests/kms_plane_lowres.c
> @@ -277,6 +277,9 @@ static void run_test(data_t *data, uint64_t modifier)
> igt_display_reset(&data->display);
> igt_output_set_pipe(data->output, data->pipe);
>
> + if (!i915_pipe_output_combo_valid(&data->display))
> + continue;
> +
> data->pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe,
> INTEL_PIPE_CRC_SOURCE_AUTO);
>