Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, Jeevan B <jeevan.b@intel.com>
Subject: [PATCH i-g-t] lib/igt_kms: treat equal limits as bigjoiner
Date: Wed,  3 Jun 2026 13:06:06 +0530	[thread overview]
Message-ID: <20260603073606.2168574-1-jeevan.b@intel.com> (raw)

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


             reply	other threads:[~2026-06-03  7:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03  7:36 Jeevan B [this message]
2026-06-03  9:14 ` [PATCH i-g-t] lib/igt_kms: treat equal limits as bigjoiner 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

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=20260603073606.2168574-1-jeevan.b@intel.com \
    --to=jeevan.b@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=karthik.b.s@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