intel/dev: fixup chv workaround
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 11 Jan 2022 12:03:47 +0000 (14:03 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Jan 2022 19:02:57 +0000 (19:02 +0000)
commitd6c0d1679185440a716a2fa00fe2da52f75fe7e4
tree142b9d63eab5d2c7e7675a15249f47f3dee99147
parentc8d364cb9d33d70205c363176a10564d21a29880
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: c24ba6cecbacf2 ("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>
src/intel/dev/intel_device_info.c