intel/dev: fixup chv workaround
We're using the wrong helper to get the subslice total count.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: c24ba6cecb
("intel/dev: Handle CHV CS thread weirdness in get_device_info_from_fd")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14492>
This commit is contained in:
parent
c8d364cb9d
commit
d6c0d16791
|
@ -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
|
* available for that PCI ID and then compute the real value from the
|
||||||
* subslice information we get from the kernel.
|
* 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);
|
const uint32_t eu_total = intel_device_info_eu_total(devinfo);
|
||||||
|
|
||||||
/* Logical CS threads = EUs per subslice * num threads per EU */
|
/* Logical CS threads = EUs per subslice * num threads per EU */
|
||||||
|
|
Loading…
Reference in New Issue