[PATCH i-g-t 7/7] tests/kms_plane_scaling: Condition fix
Swati Sharma
swati2.sharma at intel.com
Tue Jan 18 06:11:36 UTC 2022
Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
tests/kms_plane_scaling.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index e939e780..08363e11 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -249,7 +249,7 @@ test_upscale_upscale_plane_scaling_on_pipe(data_t *d, enum pipe pipe, igt_output
igt_display_t *display = &d->display;
igt_pipe_t *pipe_obj = &display->pipes[pipe];
- igt_require(get_num_scalers(d, pipe) > 2);
+ igt_require(get_num_scalers(d, pipe) >= 2);
mode = igt_output_get_mode(output);
@@ -293,7 +293,7 @@ test_downscale_downscale_plane_scaling_on_pipe(data_t *d, enum pipe pipe, igt_ou
int ret;
while (!test_complete) {
- igt_require(get_num_scalers(d, pipe) > 2);
+ igt_require(get_num_scalers(d, pipe) >= 2);
mode = igt_output_get_mode(output);
@@ -346,7 +346,7 @@ test_upscale_downscale_plane_scaling_on_pipe(data_t *d, enum pipe pipe, igt_outp
igt_display_t *display = &d->display;
igt_pipe_t *pipe_obj = &display->pipes[pipe];
- igt_require(get_num_scalers(d, pipe) > 2);
+ igt_require(get_num_scalers(d, pipe) >= 2);
mode = igt_output_get_mode(output);
@@ -387,7 +387,7 @@ test_invalid_num_scalers(data_t *d, enum pipe pipe, igt_output_t *output)
igt_display_t *display = &d->display;
igt_pipe_t *pipe_obj = &display->pipes[pipe];
- igt_require(get_num_scalers(d, pipe) > 2);
+ igt_require(get_num_scalers(d, pipe) >= 2);
mode = igt_output_get_mode(output);
--
2.25.1
More information about the Intel-gfx-trybot
mailing list