Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] lib/igt_kms: adapt to boolean debugfs for i915_bigjoiner_force_enable
@ 2024-04-02  5:42 Kunal Joshi
  2024-04-02  6:10 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Kunal Joshi @ 2024-04-02  5:42 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi, Ankit Nautiyal

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


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

end of thread, other threads:[~2024-04-04 11:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02  5:42 [PATCH i-g-t] lib/igt_kms: adapt to boolean debugfs for i915_bigjoiner_force_enable Kunal Joshi
2024-04-02  6:10 ` ✓ CI.xeBAT: success for " 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ä

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