Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Fix copy-paste error
@ 2023-03-22  6:08 Swati Sharma
  2023-03-22  6:39 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Swati Sharma @ 2023-03-22  6:08 UTC (permalink / raw)
  To: igt-dev; +Cc: Luca Coelho

This fixes downscaling factor 0.5 (2:1) tests which were
skipping before and were expected to pass since max downscaling
supported is 3:1
Even after these fixes, few tests still can skip because of
CDCLK limitations which is expected.

Reported-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Swati Sharma <swati2.sharma@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 71586efba..8e988058d 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -130,7 +130,7 @@ const struct {
 	{
 		"Tests downscaling with rotation for 0.5 scaling factor.",
 		"plane-downscale-with-rotation-factor-0-5",
-		0.25,
+		0.5,
 		false,
 	},
 	{
@@ -1181,9 +1181,9 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
 							drmModeModeInfo *mode = igt_output_get_mode(output);
 
 							test_scaler_with_modifier_pipe(&data,
-								get_width(mode, scaler_with_rotation_tests[index].sf),
-								get_height(mode, scaler_with_rotation_tests[index].sf),
-								scaler_with_rotation_tests[index].is_upscale,
+								get_width(mode, scaler_with_modifiers_tests[index].sf),
+								get_height(mode, scaler_with_modifiers_tests[index].sf),
+								scaler_with_modifiers_tests[index].is_upscale,
 								pipe, output);
 						}
 						break;
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-22 10:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-22  6:08 [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Fix copy-paste error Swati Sharma
2023-03-22  6:39 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-03-22 10:00 ` [igt-dev] [PATCH i-g-t] " Coelho, Luciano
2023-03-22 10:01 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox