diff options
author | Janga Rahul Kumar <janga.rahul.kumar@intel.com> | 2024-04-25 01:38:55 +0530 |
---|---|---|
committer | Janga Rahul Kumar <janga.rahul.kumar@intel.com> | 2024-05-07 15:48:05 +0530 |
commit | d0d0ae74afc9e69fc83b89e3d351fe2600913408 (patch) | |
tree | ce259f91d3ba583d06cdc9c7a1c9458eb3d8593f | |
parent | 22531b406bad976bfa4828b05ad97248717ae38f (diff) |
tests/intel/xe_debugfs: Extend gt test to check mocs entry
Read and dump mocs debugfs entry.
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
-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 c5a586e9b..ba12f6ccc 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", + "mocs", // "force_reset" }; static const char * const expected_files_uc[] = { @@ -183,6 +184,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/mocs", gt_id); + igt_assert(igt_debugfs_exists(fd, name, O_RDONLY)); + igt_debugfs_dump(fd, name); + sprintf(name, "gt%d/uc/guc_info", gt_id); igt_assert(igt_debugfs_exists(fd, name, O_RDONLY)); igt_debugfs_dump(fd, name); |