Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kunal Joshi <kunal1.joshi@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Kunal Joshi <kunal1.joshi@intel.com>,
	Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Subject: [PATCH i-g-t] lib/igt_kms: adapt to boolean debugfs for i915_bigjoiner_force_enable
Date: Tue,  2 Apr 2024 11:12:31 +0530	[thread overview]
Message-ID: <20240402054231.1499492-1-kunal1.joshi@intel.com> (raw)

adapt to boolean debugfs for i915_bigjoiner_force_enable

Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi@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 c38021dd7..2a518eb8d 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -6218,8 +6218,8 @@ bool igt_force_and_check_bigjoiner_status(int drmfd, char *connector_name, bool
 	close(debugfs_fd);
 	igt_assert_f(ret > 0, "Could not read i915_bigjoiner_force_enable for connector %s\n", connector_name);
 
-	return enable ? strstr(buf, "Bigjoiner enable: 1") :
-		    strstr(buf, "Bigjoiner enable: 0");
+	return enable ? strstr(buf, "Y") :
+			strstr(buf, "N");
 }
 
 /**
-- 
2.25.1


             reply	other threads:[~2024-04-02  5:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-02  5:42 Kunal Joshi [this message]
2024-04-02  6:10 ` ✓ CI.xeBAT: success for lib/igt_kms: adapt to boolean debugfs for i915_bigjoiner_force_enable Patchwork
2024-04-02  6:12 ` ✓ Fi.CI.BAT: " Patchwork
2024-04-02  7:57 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-04-03  9:08 ` [PATCH i-g-t] " Nautiyal, Ankit K
2024-04-03 10:35   ` Joshi, Kunal1
2024-04-04 11:24 ` Ville Syrjälä

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=20240402054231.1499492-1-kunal1.joshi@intel.com \
    --to=kunal1.joshi@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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