[igt-dev] [PATCH i-g-t] lib/igt_dsc: update debugfs

Swati Sharma swati2.sharma at intel.com
Wed Oct 18 06:35:37 UTC 2023


Instead of using i915_capabilities, use i915_display_capabilities.

Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
 lib/igt_dsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_dsc.c b/lib/igt_dsc.c
index 76a420c10..1a57a8b23 100644
--- a/lib/igt_dsc.c
+++ b/lib/igt_dsc.c
@@ -56,7 +56,7 @@ bool igt_is_dsc_supported_by_source(int drmfd)
 	dir = igt_debugfs_dir(drmfd);
 	igt_assert(dir >= 0);
 
-	res = igt_debugfs_simple_read(dir, "i915_capabilities",
+	res = igt_debugfs_simple_read(dir, "i915_display_capabilities",
 				      buf, sizeof(buf));
 	close(dir);
 
-- 
2.25.1



More information about the igt-dev mailing list