diff options
-rw-r--r-- | perl-install/cpufreq.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/cpufreq.pm b/perl-install/cpufreq.pm index 54710fd05..17a39b25e 100644 --- a/perl-install/cpufreq.pm +++ b/perl-install/cpufreq.pm @@ -109,9 +109,11 @@ sub probe_powernow_k7() { sub probe_powernow_k8() { any { - get_vendor($_) eq "AMD" && - $_->{'cpu family'} == 15 && - ($_->{'power management'} =~ /\bfid\b/ || has_flag($_, 'fid')); # frequency ID control + get_vendor($_) eq "AMD" && ( + ( $_->{'cpu family'} == 15 && ($_->{'power management'} =~ /\bfid\b/ || has_flag($_, 'fid')) ) # frequency ID control) + || + ( $_->{'cpu family'} == 16 && ($_->{'power management'} =~ /\bhwpstate\b/ )) # support for Athlon/Phenom II processors (#58477)) + ); } get_cpus(); } |