summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2020-01-24 14:41:25 -0800
committerEric Engestrom <eric@engestrom.ch>2020-03-06 22:59:36 +0100
commitcb526cc1c64853cfc4dfa990f854ff80777f3796 (patch)
treec63e7bc0086c0c39872b2922507fbd6b0976d1f9
parent8438a41d7b20116785f377e4c672fa6232c57cca (diff)
downloadmesa-cb526cc1c64853cfc4dfa990f854ff80777f3796.tar.gz
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> (cherry picked from commit aa78801f0a6cfeaf3d16b4333239c0b862f73c10)
-rw-r--r--.pick_status.json2
-rw-r--r--src/intel/dev/gen_device_info.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/.pick_status.json b/.pick_status.json
index 932b3a3a446..44af0a40d4b 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -1669,7 +1669,7 @@
"description": "intel/device: bdw_gt1 actually has 6 eus per subslice",
"nominated": true,
"nomination_type": 0,
- "resolution": 0,
+ "resolution": 1,
"master_sha": null,
"because_sha": null
},
diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c
index de16db7aa70..fc1cf4ce21d 100644
--- a/src/intel/dev/gen_device_info.c
+++ b/src/intel/dev/gen_device_info.c
@@ -431,7 +431,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 = {