From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Luca Coelho <luciano.coelho@intel.com>
Subject: [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Fix copy-paste error
Date: Wed, 22 Mar 2023 11:38:18 +0530 [thread overview]
Message-ID: <20230322060818.11415-1-swati2.sharma@intel.com> (raw)
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
next reply other threads:[~2023-03-22 6:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-22 6:08 Swati Sharma [this message]
2023-03-22 6:39 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_plane_scaling: Fix copy-paste error 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230322060818.11415-1-swati2.sharma@intel.com \
--to=swati2.sharma@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=luciano.coelho@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox