diff options
author | Lionel Landwerlin <[email protected]> | 2018-03-14 13:15:12 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-03-22 20:14:22 +0000 |
commit | 7e2c6147da427df974b673178d7142836bfac6a1 (patch) | |
tree | 23d4ef50041fa2fef534a45ae88368d860247bea /src/intel/dev/gen_device_info.h | |
parent | 8e5988eb35bad496e4e06e27f8cba68ba87ca31b (diff) |
intel: devinfo: store number of EUs per subslice
This will be reused to store values reported by the kernel. The main
use case will be for use as the input values of the metric sets
equations for the INTEL_performance_queries extension. By storing this
information in the gen_device_info we make this non GL specific so
this can be reused by Vulkan if we ever have an equivalent extension.
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/dev/gen_device_info.h')
-rw-r--r-- | src/intel/dev/gen_device_info.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/dev/gen_device_info.h b/src/intel/dev/gen_device_info.h index b8044d00032..17285ffed88 100644 --- a/src/intel/dev/gen_device_info.h +++ b/src/intel/dev/gen_device_info.h @@ -115,6 +115,11 @@ struct gen_device_info unsigned num_subslices[3]; /** + * Number of EU per subslice. + */ + unsigned num_eu_per_subslice; + + /** * Number of threads per eu, varies between 4 and 8 between generations. */ unsigned num_thread_per_eu; |