summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_device_info.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-06-15 23:48:49 +0100
committerLionel Landwerlin <[email protected]>2017-06-19 22:11:00 +0100
commit6d759cbd49d840d66bbe27bc929941587be41aa5 (patch)
treec0b40686f54291a0f456211a9b0a5e7250733031 /src/intel/common/gen_device_info.h
parentc77d98ef32a0f9763d4c8945527d00ab98e748cc (diff)
intel: common: add number of thread per eu
This will be used by to normalize OA counters. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/common/gen_device_info.h')
-rw-r--r--src/intel/common/gen_device_info.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/common/gen_device_info.h b/src/intel/common/gen_device_info.h
index 86daf6e5337..920a3365025 100644
--- a/src/intel/common/gen_device_info.h
+++ b/src/intel/common/gen_device_info.h
@@ -101,6 +101,12 @@ struct gen_device_info
* to change, so we program @max_cs_threads as the lower maximum.
*/
unsigned num_slices;
+
+ /**
+ * Number of threads per eu, varies between 4 and 8 between generations.
+ */
+ unsigned num_thread_per_eu;
+
unsigned l3_banks;
unsigned max_vs_threads; /**< Maximum Vertex Shader threads */
unsigned max_tcs_threads; /**< Maximum Hull Shader threads */