[igt-dev] [PATCH] tests/intel/i915_pipe_stress: Use only first pipe if Bigjoiner is used
Modem, Bhanuprakash
bhanuprakash.modem at intel.com
Thu Sep 14 13:43:39 UTC 2023
Hi Stan,
On Thu-14-09-2023 01:33 pm, Stanislav Lisovskiy wrote:
> We currently are having test failures for Bigjoiner, because that
> test tries to use all pipes simultaneously, not realizing that
> if we use a Bigjoiner mode on pipe A, the adjacent pipe won't be
> available.
> For now just fix it by using only one pipe, if resolution > 3840
> is detected.
>
> Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
> ---
> tests/intel/i915_pipe_stress.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/tests/intel/i915_pipe_stress.c b/tests/intel/i915_pipe_stress.c
> index 3cd84d027f..a050fa0117 100644
> --- a/tests/intel/i915_pipe_stress.c
> +++ b/tests/intel/i915_pipe_stress.c
> @@ -590,6 +590,12 @@ static void stress_pipes(struct data *data, struct timespec *start,
> igt_pipe_crc_stop(data->pipe_crc[pipe]);
> igt_assert_crc_equal(&crc, &crc2);
>
> + /*
> + * Do not try to use other pipes, if Bigjoiner is used
> + */
> + if (data->highest_mode[pipe]->hdisplay > 3840)
> + break;
I think, you can use "igt_check_bigjoiner_support()" to know the
selected pipe can drive the Bigjoiner or not.
- Bhanu
> +
> ++pipe;
> }
> }
More information about the igt-dev
mailing list