All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search
  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 ` Sowmiya S
  2026-08-05  7:48   ` Reddy Guddati, Santhosh
  0 siblings, 1 reply; 3+ messages in thread
From: Sowmiya S @ 2026-07-28  6:00 UTC (permalink / raw)
  To: igt-dev; +Cc: swati2.sharma, santhosh.reddy.guddati, Sowmiya S

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH i-g-t v2 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search
       [not found] ` <20260727060321.361027-3-sowmiya.s@intel.com>
@ 2026-08-04  6:02   ` Reddy Guddati, Santhosh
  0 siblings, 0 replies; 3+ messages in thread
From: Reddy Guddati, Santhosh @ 2026-08-04  6:02 UTC (permalink / raw)
  To: Sowmiya S, igt-dev; +Cc: swati2.sharma



On 27-07-2026 11:33, Sowmiya S wrote:
> 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 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;
>   		}


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH i-g-t v2 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search
  2026-07-28  6:00 ` [PATCH i-g-t v2 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search Sowmiya S
@ 2026-08-05  7:48   ` Reddy Guddati, Santhosh
  0 siblings, 0 replies; 3+ messages in thread
From: Reddy Guddati, Santhosh @ 2026-08-05  7:48 UTC (permalink / raw)
  To: Sowmiya S, igt-dev; +Cc: swati2.sharma



On 28-07-2026 11:30, Sowmiya S wrote:
> 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 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;
>   		}


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-05  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260727060321.361027-1-sowmiya.s@intel.com>
     [not found] ` <20260727060321.361027-3-sowmiya.s@intel.com>
2026-08-04  6:02   ` [PATCH i-g-t v2 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search Reddy Guddati, Santhosh
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 2/2] lib/igt_kms: Skip joiner exception modes in boundary non-joiner search Sowmiya S
2026-08-05  7:48   ` Reddy Guddati, Santhosh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.