From: Karthik B S <karthik.b.s@intel.com>
To: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>,
<igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t v8 2/2] lib/igt_kms.c: Enforce strict check for bigjoiner_possible
Date: Thu, 16 Jan 2025 10:46:16 +0530 [thread overview]
Message-ID: <1afa1f3f-2ed6-48a9-a054-0a5baab8de82@intel.com> (raw)
In-Reply-To: <20250110042752.32846-3-santhosh.reddy.guddati@intel.com>
On 1/10/2025 9:57 AM, Santhosh Reddy Guddati wrote:
> update bigjoiner_mode_found to check for ultrajoiner possibility.
> This ensures that the mode is only set to bigjoiner if ultrajoiner
> is not possible.
Please rephrase the second sentence while merging. May be something
like, "This ensures that the mode is truly supported by bigjoiner and
doesn't require ultrajoiner.
>
> v8: rebase and check fot ultra joiner possibility.
Also please remove the "check for ultra joiner possibility" as there is
no changes from previous version.
>
> Signed-off-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
With the above mentioned updates in commit message,
Reviewed-by: Karthik B S <karthik.b.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 95e3059f7..1a0819ce2 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -6419,7 +6419,8 @@ bool bigjoiner_mode_found(int drm_fd, drmModeConnector *connector,
> bool found = false;
>
> for (int i=0; i< connector->count_modes; i++) {
> - if (igt_bigjoiner_possible(drm_fd, &connector->modes[i], max_dotclock)) {
> + if (igt_bigjoiner_possible(drm_fd, &connector->modes[i], max_dotclock) &&
> + !igt_ultrajoiner_possible(&connector->modes[i], max_dotclock)) {
> *mode = connector->modes[i];
> found = true;
> break;
next prev parent reply other threads:[~2025-01-16 5:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-10 4:27 [PATCH i-g-t v8 0/2] tests/intel/kms_joiner: switch modeset from uj to bj and vice-versa Santhosh Reddy Guddati
2025-01-10 4:27 ` [PATCH i-g-t v8 1/2] tests/intel/kms_joiner: switch modeset between uj and bj Santhosh Reddy Guddati
2025-01-16 4:51 ` Karthik B S
2025-01-10 4:27 ` [PATCH i-g-t v8 2/2] lib/igt_kms.c: Enforce strict check for bigjoiner_possible Santhosh Reddy Guddati
2025-01-16 5:16 ` Karthik B S [this message]
2025-01-10 7:28 ` ✓ i915.CI.BAT: success for tests/intel/kms_joiner: switch modeset from uj to bj and vice-versa Patchwork
2025-01-10 7:46 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-13 0:16 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-14 13:00 ` ✗ i915.CI.Full: " Patchwork
2025-01-18 0:09 ` Patchwork
2025-01-20 15:33 ` 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=1afa1f3f-2ed6-48a9-a054-0a5baab8de82@intel.com \
--to=karthik.b.s@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=santhosh.reddy.guddati@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