[igt-dev] [PATCH i-g-t 4/8] lib/i915/perf-config: document devinfo fields

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Apr 23 07:44:40 UTC 2021


Some of those fields name might not be obvious.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
 lib/i915/perf.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/i915/perf.h b/lib/i915/perf.h
index 99de12e5d..6a39be921 100644
--- a/lib/i915/perf.h
+++ b/lib/i915/perf.h
@@ -56,11 +56,17 @@ struct intel_perf_devinfo {
 	uint64_t gt_min_freq;
 	uint64_t gt_max_freq;
 
+	/* Total number of EUs */
 	uint64_t n_eus;
+	/* Total number of EUs in a slice */
 	uint64_t n_eu_slices;
+	/* Total number of subslices/dualsubslices */
 	uint64_t n_eu_sub_slices;
+	/* Mask of available subslices/dualsubslices */
 	uint64_t subslice_mask;
+	/* Mask of available slices */
 	uint64_t slice_mask;
+	/* Number of threads in one EU */
 	uint64_t eu_threads_count;
 };
 
-- 
2.27.0



More information about the igt-dev mailing list