[PATCH i-g-t v3 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search
Sowmiya S <[email protected]> Wed, 5 Aug 2026 14:04:54 +0530
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> Reviewed-by: Santhosh Reddy Guddati <[email protected]> --- 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