[PATCH i-g-t 1/2] lib/i915/intel_drrs: Update DRRS capability check
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Feb 21 11:23:40 UTC 2024
>From debugfs "i915_drrs_status" read the DRRS capability as
"DRRS capable: yes", instead of "DRRS enabled: yes".
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
lib/i915/intel_drrs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/i915/intel_drrs.c b/lib/i915/intel_drrs.c
index 9c6aefbf6..ac8dd5e61 100644
--- a/lib/i915/intel_drrs.c
+++ b/lib/i915/intel_drrs.c
@@ -30,7 +30,7 @@ bool intel_is_drrs_supported(int device, enum pipe pipe)
igt_debugfs_simple_read(dir, "i915_drrs_status", buf, sizeof(buf));
close(dir);
- return strstr(buf, "DRRS enabled: yes");
+ return strstr(buf, "DRRS capable: yes");
}
/**
--
2.43.0
More information about the igt-dev
mailing list