mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
intel/perf: fix EuThreadsCount value in performance equations
EuThreadsCount is supposed to be the number of threads per EU, not the total number of threads in the whole device. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:1fc7b95127("i965: Add Gen8+ INTEL_performance_query support") Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit0430c6d18a)
This commit is contained in:
parent
4e3f82cde4
commit
5375846e8d
1 changed files with 1 additions and 2 deletions
|
|
@ -1990,8 +1990,7 @@ compute_topology_builtins(struct brw_context *brw)
|
|||
for (int i = 0; i < sizeof(devinfo->eu_masks); i++)
|
||||
brw->perfquery.sys_vars.n_eus += util_bitcount(devinfo->eu_masks[i]);
|
||||
|
||||
brw->perfquery.sys_vars.eu_threads_count =
|
||||
brw->perfquery.sys_vars.n_eus * devinfo->num_thread_per_eu;
|
||||
brw->perfquery.sys_vars.eu_threads_count = devinfo->num_thread_per_eu;
|
||||
|
||||
/* At the moment the subslice mask builtin has groups of 3bits for each
|
||||
* slice.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue