[PATCH i-g-t] tests/intel/xe_debugfs: Extend gt test to check pat entry
janga.rahul.kumar at intel.com
janga.rahul.kumar at intel.com
Tue May 7 13:44:42 UTC 2024
From: Janga Rahul Kumar <janga.rahul.kumar at intel.com>
Read and dump pat debugfs entry.
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar at intel.com>
---
tests/intel/xe_debugfs.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/intel/xe_debugfs.c b/tests/intel/xe_debugfs.c
index ba12f6ccc..73b11dc74 100644
--- a/tests/intel/xe_debugfs.c
+++ b/tests/intel/xe_debugfs.c
@@ -158,6 +158,7 @@ test_gt(int fd, int gt_id)
"topology",
"sa_info",
"hw_engines",
+ "pat",
"mocs",
// "force_reset"
};
@@ -184,6 +185,10 @@ test_gt(int fd, int gt_id)
igt_assert(igt_debugfs_exists(fd, name, O_RDONLY));
igt_debugfs_dump(fd, name);
+ sprintf(name, "gt%d/pat", gt_id);
+ igt_assert(igt_debugfs_exists(fd, name, O_RDONLY));
+ igt_debugfs_dump(fd, name);
+
sprintf(name, "gt%d/mocs", gt_id);
igt_assert(igt_debugfs_exists(fd, name, O_RDONLY));
igt_debugfs_dump(fd, name);
--
2.25.1
More information about the igt-dev
mailing list