[PATCH i-g-t] lib/igt_kms: adapt to boolean debugfs for i915_bigjoiner_force_enable
Kunal Joshi
kunal1.joshi at intel.com
Tue Apr 2 05:42:31 UTC 2024
adapt to boolean debugfs for i915_bigjoiner_force_enable
Cc: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi at 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
More information about the igt-dev
mailing list