intel_pstates: enable CPUs having HWP
also update model list from Linux intel_pstate_cpu_ids. Change-Id: I20926dc8553fbf1ade8afcccaaedfc2846787bb3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3221 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
e632208b79
commit
80ad523bc2
@ -137,8 +137,13 @@ is_cpu_model_supported(cpu_ent* cpu)
|
||||
if (cpu->arch.family != 6)
|
||||
return false;
|
||||
|
||||
if (x86_check_feature(IA32_FEATURE_HWP, FEATURE_6_EAX))
|
||||
return true;
|
||||
|
||||
const uint8 kSupportedFamily6Models[] = {
|
||||
0x2a, 0x2d, 0x2e, 0x3a, 0x3c, 0x3e, 0x3f, 0x45, 0x46,
|
||||
0x2a, 0x2d, 0x37, 0x3a, 0x3c, 0x3d, 0x3e, 0x3f, 0x45, 0x46, 0x47, 0x4a,
|
||||
0x4c, 0x4d, 0x4e, 0x4f, 0x55, 0x56, 0x57, 0x5a, 0x5c, 0x5e, 0x5f, 0x75,
|
||||
0x7a, 0x85
|
||||
};
|
||||
const int kSupportedFamily6ModelsCount
|
||||
= sizeof(kSupportedFamily6Models) / sizeof(uint8);
|
||||
|
Loading…
Reference in New Issue
Block a user