intel/device: bdw_gt1 actually has 6 eus per subslice

Found by inspection, I'm not aware of any bugs caused by this typo.

According to Lionel, it seems we only use this to generate masks
of available EUs for perfromance queries, and it's only used when we
can't query the fused parts of the GPU through DRM_IOCTL_I915_QUERY.
So this patch should help for the corner case where the Kernel is too
old to support the query ioctl.

v2: improve commit message, cc stable (Lionel).

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4006>
This commit is contained in:
Paulo Zanoni 2020-01-24 14:41:25 -08:00 committed by Marge Bot
parent 9e5ce30da7
commit aa78801f0a

View file

@ -434,7 +434,7 @@ static const struct gen_device_info gen_device_info_bdw_gt1 = {
.is_broadwell = true,
.num_slices = 1,
.num_subslices = { 2, },
.num_eu_per_subslice = 8,
.num_eu_per_subslice = 6,
.l3_banks = 2,
.max_cs_threads = 42,
.urb = {