Skip to content
Snippets Groups Projects
Commit 33461292 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Eric Engestrom
Browse files

intel/dev: fixup chv workaround


We're using the wrong helper to get the subslice total count.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: c24ba6ce ("intel/dev: Handle CHV CS thread weirdness in get_device_info_from_fd")
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
Part-of: <mesa/mesa!14492>
(cherry picked from commit d6c0d167)
parent 24a31011
No related branches found
No related tags found
No related merge requests found
......@@ -346,7 +346,7 @@
"description": "intel/dev: fixup chv workaround",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "c24ba6cecbacf2d81345c1112f083006f22b65ea"
},
......
......@@ -1411,7 +1411,7 @@ fixup_chv_device_info(struct intel_device_info *devinfo)
* available for that PCI ID and then compute the real value from the
* subslice information we get from the kernel.
*/
const uint32_t subslice_total = intel_device_info_eu_total(devinfo);
const uint32_t subslice_total = intel_device_info_subslice_total(devinfo);
const uint32_t eu_total = intel_device_info_eu_total(devinfo);
/* Logical CS threads = EUs per subslice * num threads per EU */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment