intel_extreme: use proper generation for Tiger Lake devices

The CPU in these is generation 11, but the graphics unit is actually
generation 12. Thanks to KapiX for pointing this out!
This commit is contained in:
PulkoMandy 2022-03-30 21:11:38 +02:00
parent dcaf47fd7f
commit 38a9416057

View File

@ -226,8 +226,10 @@ struct DeviceType {
return 7;
if (InGroup(INTEL_GROUP_CHV) || InGroup(INTEL_GROUP_BDW))
return 8;
if (InGroup(INTEL_GROUP_JSL) || InGroup(INTEL_GROUP_TGL))
if (InGroup(INTEL_GROUP_JSL))
return 11;
if (InGroup(INTEL_GROUP_TGL))
return 12;
if (InFamily(INTEL_FAMILY_LAKE))
return 9;