From: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kunal1.joshi@intel.com,
Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Subject: [PATCH i-g-t v3 1/3] tests/kms_plane_scaling: Add mode override in scaling test
Date: Thu, 26 Sep 2024 23:41:48 +0530 [thread overview]
Message-ID: <20240926181150.2148704-2-ramanaidu.naladala@intel.com> (raw)
In-Reply-To: <20240926181150.2148704-1-ramanaidu.naladala@intel.com>
Add a call to igt_output_override_mode to ensure the correct mode
is set for each connector. Modify check_scaling_pipe_plane_rot
function to include igt_output_override_mode. This change helps
in accurately testing the scaling functionality by explicitly
setting the mode before running the tests.
Fixes: 27926dd5792a ("tests/kms_plane_scaling: Find display mode fitting in BW for rotations")
Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Reviewed-by: Kunal Joshi <kunal1.joshi@intel.com>
---
tests/kms_plane_scaling.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index bc9114acd..96ceedee2 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -585,6 +585,7 @@ check_scaling_pipe_plane_rot(data_t *d, igt_plane_t *plane,
for_each_connector_mode(output) {
mode = &output->config.connector->modes[j__];
+ igt_output_override_mode(output, mode);
igt_debug("Trying mode %dx%d\n",
mode->hdisplay, mode->vdisplay);
--
2.43.0
next prev parent reply other threads:[~2024-09-26 18:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-26 18:11 [PATCH i-g-t v3 0/3] tests/kms_plane_scaling: Cdclk exceeds max Cdclk issue fix Naladala Ramanaidu
2024-09-26 18:11 ` Naladala Ramanaidu [this message]
2024-09-26 18:11 ` [PATCH i-g-t v3 2/3] tests/kms_plane_scaling: Improve error handling in kms_plane_scaling tests Naladala Ramanaidu
2024-09-27 17:40 ` [i-g-t, v3, " Joshi, Kunal1
2024-09-26 18:11 ` [PATCH i-g-t v3 3/3] HAX patch do not merge Naladala Ramanaidu
2024-09-26 19:09 ` ✗ Fi.CI.BAT: failure for tests/kms_plane_scaling: Cdclk exceeds max Cdclk issue fix (rev3) Patchwork
2024-09-26 19:21 ` ✗ CI.xeBAT: " Patchwork
2024-09-27 19:56 ` ✗ CI.xeFULL: " Patchwork
2024-10-01 13:35 ` ✗ Fi.CI.BAT: " Patchwork
2024-10-07 19:01 ` ✗ GitLab.Pipeline: warning for tests/kms_plane_scaling: Cdclk exceeds max Cdclk issue fix (rev4) Patchwork
2024-10-07 19:26 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-10-07 19:34 ` ✗ CI.xeBAT: " Patchwork
2024-10-08 8:12 ` ✗ CI.xeFULL: " Patchwork
2024-10-15 9:44 ` ✗ Fi.CI.BUILD: failure for tests/kms_plane_scaling: Cdclk exceeds max Cdclk issue fix (rev5) 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=20240926181150.2148704-2-ramanaidu.naladala@intel.com \
--to=ramanaidu.naladala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kunal1.joshi@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