From: Lee Shawn C <shawn.c.lee@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Lee Shawn C <shawn.c.lee@intel.com>,
Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Subject: [PATCH v11 1/2] Revert "tests/kms_vrr: Start virtual RR test above midpoint to avoid mode fallback"
Date: Mon, 23 Nov 2026 07:24:08 +0000 [thread overview]
Message-ID: <20261123072409.294287-2-shawn.c.lee@intel.com> (raw)
In-Reply-To: <20261123072409.294287-1-shawn.c.lee@intel.com>
This reverts commit 862eb176244feac8ee711f381fe1be1fdc6a7ede.
The following patch will do full range testing. So no need to start at midpoint.
Cc: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Signed-off-by: Lee Shawn C <shawn.c.lee@intel.com>
Reviewed-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
---
tests/kms_vrr.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index a02106fa7599..0102afe203dc 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -1023,16 +1023,7 @@ test_seamless_virtual_rr_basic(data_t *data, igt_crtc_t *crtc,
/* Switch to Virtual RR */
virtual_mode = *igt_output_get_mode(output);
- /*
- * Start virtual RR testing from above the midpoint of the VRR range when multiple
- * modes are available. This avoids the driver mode adjustment. which can cause an
- * unintended clock change.
- */
- vrefresh = (output->config.connector->count_modes > 1) ?
- (((data->range.max + data->range.min) / 2) + step_size) :
- data->range.min + step_size;
-
- for ( ; vrefresh < data->range.max; vrefresh += step_size) {
+ for (vrefresh = data->range.min + step_size; vrefresh < data->range.max; vrefresh += step_size) {
virtual_rr_vrr_range_mode(&virtual_mode, vrefresh);
igt_info("Requesting Virtual Mode with Refresh Rate (%u Hz): \n", vrefresh);
--
2.53.0
next prev parent reply other threads:[~2026-11-23 7:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 7:24 [PATCH v11 0/2] tests/kms_vrr: Add full-range refresh rate testing Lee Shawn C
2026-11-23 7:24 ` Lee Shawn C [this message]
2026-11-23 7:24 ` [PATCH v11 2/2] tests/kms_vrr: add support for full range " Lee Shawn C
2026-11-24 2:48 ` ✓ Xe.CI.BAT: success for tests/kms_vrr: Add full-range refresh rate testing (rev4) Patchwork
2026-11-24 3:10 ` ✓ i915.CI.BAT: " Patchwork
2026-11-24 5:06 ` ✗ Xe.CI.FULL: failure " 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=20261123072409.294287-2-shawn.c.lee@intel.com \
--to=shawn.c.lee@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=ramanaidu.naladala@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