[PATCH i-g-t] lib/igt_kms: adapt to boolean debugfs for i915_bigjoiner_force_enable
Nautiyal, Ankit K
ankit.k.nautiyal at intel.com
Wed Apr 3 09:08:05 UTC 2024
On 4/2/2024 11:12 AM, Kunal Joshi wrote:
> 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>
LGTM.
This is required with the change in debugfs i915_bigjoiner_force_enable :
https://patchwork.freedesktop.org/patch/586369/?series=131942&rev=1
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
Regards,
Ankit
> ---
> 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");
> }
>
> /**
More information about the igt-dev
mailing list