Skip to content
Snippets Groups Projects
Commit d6c0d167 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Marge Bot
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>
parent c8d364cb
No related branches found
Tags mesa-18.3.0-rc5
Loading
......@@ -1521,7 +1521,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