diff options
author | Janga Rahul Kumar <janga.rahul.kumar@intel.com> | 2024-05-07 19:14:42 +0530 |
---|---|---|
committer | Janga Rahul Kumar <janga.rahul.kumar@intel.com> | 2024-05-08 14:31:44 +0530 |
commit | 59caad2efa070473af65c37160767b9b57475187 (patch) | |
tree | 7d9c881f5e9082b7c1b1aa85f7a4413f33f5e895 /tests | |
parent | 155628bc9d0ee70c67c3612462a62f095609f152 (diff) |
tests/intel/xe_debugfs: Extend gt test to check pat entry
Read and dump pat debugfs entry.
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
Reviewed-by: Priyanka Dandamudi <Priyanka.dandamudi@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/intel/xe_debugfs.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |