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 v3 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search
Date: Wed, 5 Aug 2026 14:04:54 +0530 [thread overview]
Message-ID: <20260805083454.708311-3-sowmiya.s@intel.com> (raw)
In-Reply-To: <20260805083454.708311-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>
Reviewed-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@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 8b197e5ec..42cc7c3bd 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -7190,7 +7190,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.43.0
next prev parent reply other threads:[~2026-08-05 8:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-05 8:34 [PATCH i-g-t v3 0/2] Add platform-specific joiner exception mode handling Sowmiya S
2026-08-05 8:34 ` [PATCH i-g-t v3 1/2] lib/igt_kms: " Sowmiya S
2026-08-05 8:34 ` Sowmiya S [this message]
2026-08-05 22:37 ` ✓ Xe.CI.BAT: success for Add platform-specific joiner exception mode handling (rev3) Patchwork
2026-08-05 23:10 ` ✓ i915.CI.BAT: " Patchwork
2026-08-06 7:39 ` ✓ Xe.CI.FULL: " Patchwork
2026-08-06 9:31 ` ✗ i915.CI.Full: failure " Patchwork
2026-08-07 5:15 ` ✓ i915.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=20260805083454.708311-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