From: Sowmiya S <sowmiya.s@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: swati2.sharma@intel.com, santhosh.reddy.guddati@intel.com,
Sowmiya S <sowmiya.s@intel.com>
Subject: [PATCH i-g-t v2 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search
Date: Tue, 28 Jul 2026 11:30:03 +0530 [thread overview]
Message-ID: <20260728060003.392870-3-sowmiya.s@intel.com> (raw)
In-Reply-To: <20260728060003.392870-1-sowmiya.s@intel.com>
Fix intel_boundary_non_joiner_mode_found() to skip exception modes,
preventing test_basic_max_non_joiner from incorrectly selecting a
joiner-required mode as a non-joiner boundary mode.
Signed-off-by: Sowmiya S <sowmiya.s@intel.com>
---
lib/igt_kms.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index d591e696d..2475f0916 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -7192,7 +7192,8 @@ bool intel_boundary_non_joiner_mode_found(int drm_fd, drmModeConnector *connecto
drmModeModeInfo *current_mode = &connector->modes[i];
if (current_mode->hdisplay == max_hdisplay &&
- current_mode->clock < max_dotclock) {
+ current_mode->clock < max_dotclock &&
+ !mode_needs_joiner_exception(drm_fd, current_mode)) {
*mode = *current_mode;
return true;
}
--
2.51.0
next prev parent reply other threads:[~2026-07-28 6:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 6:00 [PATCH i-g-t v2 0/2] Add platform-specific joiner exception mode handling Sowmiya S
2026-07-28 6:00 ` [PATCH i-g-t v2 1/2] lib/igt_kms: " Sowmiya S
2026-07-28 6:00 ` Sowmiya S [this message]
2026-07-28 6:44 ` ✓ Xe.CI.BAT: success for Add platform-specific joiner exception mode handling (rev2) Patchwork
2026-07-28 6:54 ` ✗ i915.CI.BAT: failure " Patchwork
2026-07-28 8:15 ` ✓ Xe.CI.FULL: success " 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=20260728060003.392870-3-sowmiya.s@intel.com \
--to=sowmiya.s@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=santhosh.reddy.guddati@intel.com \
--cc=swati2.sharma@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