Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] lib/igt_kms: treat equal limits as bigjoiner
@ 2026-06-03  7:36 Jeevan B
  2026-06-03  9:14 ` Jani Nikula
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Jeevan B @ 2026-06-03  7:36 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, Jeevan B

Use '>=' instead of '>' so modes equal to max hdisplay or dotclock
are considered for bigjoiner.

Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 lib/igt_kms.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 0f1ce03a9..e5ffaeac1 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -6946,8 +6946,8 @@ static int get_max_pipe_hdisplay(int drm_fd)
  */
 bool igt_bigjoiner_possible(int drm_fd, drmModeModeInfo *mode, int max_dotclock)
 {
-	return (mode->hdisplay > get_max_pipe_hdisplay(drm_fd) ||
-		mode->clock > max_dotclock);
+	return (mode->hdisplay >= get_max_pipe_hdisplay(drm_fd) ||
+		mode->clock >= max_dotclock);
 }
 
 /**
-- 
2.43.0


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

end of thread, other threads:[~2026-06-04 11:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03  7:36 [PATCH i-g-t] lib/igt_kms: treat equal limits as bigjoiner Jeevan B
2026-06-03  9:14 ` Jani Nikula
2026-06-03  9:36   ` B, Jeevan
2026-06-03  9:51     ` Jani Nikula
2026-06-03 10:15       ` B, Jeevan
2026-06-03 12:59 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-06-03 13:44 ` ✓ i915.CI.BAT: " Patchwork
2026-06-04  0:28 ` ✓ Xe.CI.FULL: " Patchwork
2026-06-04 11:23 ` ✓ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox