[PATCH i-g-t 2/2] tests/intel/kms_joiner: Add igt_get_dsc_sink_max_slice_count() constraint
Bhadane, Dnyaneshwar
dnyaneshwar.bhadane at intel.com
Thu Dec 12 12:17:01 UTC 2024
> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Swati
> Sharma
> Sent: Tuesday, December 10, 2024 7:23 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Nautiyal, Ankit K <ankit.k.nautiyal at intel.com>; Sharma, Swati2
> <swati2.sharma at intel.com>
> Subject: [PATCH i-g-t 2/2] tests/intel/kms_joiner: Add
> igt_get_dsc_sink_max_slice_count() constraint
>
> For ultrajoiner min 4 pipes are required and each pipe requires atleast 2 slices,
> which makes minimum of 8 slices for ultrajoiner.
>
> Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3387
> Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
> ---
> tests/intel/kms_joiner.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/intel/kms_joiner.c b/tests/intel/kms_joiner.c index
> 9a353ee1b..418ff26a6 100644
> --- a/tests/intel/kms_joiner.c
> +++ b/tests/intel/kms_joiner.c
> @@ -457,7 +457,8 @@ igt_main
>
> if (ultrajoiner_found)
>
> data.ultra_joiner_output[data.ultra_joiner_output_count++] = output;
> - else if (force_joiner_supported &&
> is_dsc_supported_by_sink(data.drm_fd, output))
> + else if (force_joiner_supported &&
> is_dsc_supported_by_sink(data.drm_fd, output) &&
> +
> igt_get_dsc_sink_max_slice_count(data.drm_fd, output->name) >= 8)
It Look good to me,
Reviewed-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane at intel.com>
>
> data.non_ultra_joiner_output[data.non_ultra_joiner_output_count++
> ] = output;
>
> if (bigjoiner_found)
> --
> 2.25.1
More information about the igt-dev
mailing list