lib/igt_kms: Skip joiner exception modes in boundary non-joiner search
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Reddy Guddati, Santhosh
Reviewed-byQuoted 5 lines · Sowmiya S
Fix
intel_boundary_non_joiner_mode_found()to skip exception modes, preventingtest_basic_max_non_joinerfrom 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]>
Quoted 18 lines
--- lib/igt_kms.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)lib/igt_kms.c +2
-1@@ -7192,7 +7192,8 @@ bool intel_boundary_non_joiner_mode_found(int drm_fd, drmModeConnector *connectodrmModeModeInfo *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; }