intel/devinfo: fix missing num_thread_per_eu on ICL
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 11 Apr 2019 11:20:36 +0000 (12:20 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 19 Apr 2019 15:56:21 +0000 (15:56 +0000)
commit773e6aa9fd250479e2a89b376e5eda5a1d07fc5b
tree5f02c94099d59fe34128ed4566001530bf93bdde
parent38c75aff4cb07a68d8956e0f96f3167cfe3fa964
intel/devinfo: fix missing num_thread_per_eu on ICL

There was an assumption that num_thread_per_eu would be set in the
Gen8 features. Since this is mostly the same of all gen8->11 (except
GEN9_LP that overwrites it) let's just factor it out.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Anuj Phogat anuj.phogat@gmail.com
src/intel/dev/gen_device_info.c