Re: [PATCH i-g-t 3/8] tests/kms_rotation_crc: s/0/PIPE_A/

Jani Nikula
2026-01-13T14:32:11Z

On Tue, 13 Jan 2026, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Pass 'PIPE_A' instead of '0' to test_multi_plane_rotation()
> since it takes an 'enum pipe'.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

> ---
> tests/kms_rotation_crc.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
> index c0642a389121..b1765b4c75e5 100644
> --- a/tests/kms_rotation_crc.c
> +++ b/tests/kms_rotation_crc.c
> @@ -1312,7 +1312,7 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
> data.planepos[1].origo = p_top | p_right;
> data.planepos[1].x = -.4f;
> data.planepos[1].y = .1f;
> - test_multi_plane_rotation(&data, 0);
> + test_multi_plane_rotation(&data, PIPE_A);
> }
>
> igt_describe("Rotation test on both planes by cropping left/top corner of primary plane and"
> @@ -1326,7 +1326,7 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
> data.planepos[1].origo = p_top | p_right;
> data.planepos[1].x = -.15f;
> data.planepos[1].y = -.15f;
> - test_multi_plane_rotation(&data, 0);
> + test_multi_plane_rotation(&data, PIPE_A);
> }
>
> igt_describe("Rotation test on both planes by cropping left/bottom corner of primary plane"
> @@ -1340,7 +1340,7 @@ int igt_main_args("", long_opts, help_str, opt_handler, &data)
> data.planepos[1].origo = p_bottom | p_right;
> data.planepos[1].x = -.15f;
> data.planepos[1].y = -.20f;
> - test_multi_plane_rotation(&data, 0);
> + test_multi_plane_rotation(&data, PIPE_A);
> }
>
> /*

--
Jani Nikula, Intel