kernel/tools/power/cpupower/utils/helpers/amd.c
.. .. @@ -45,7 +45,7 @@ 45 45 46 46 if (family == 0x12) 47 47 t = pstate.val & 0xf; 48 - else if (family == 0x17)48 + else if (family == 0x17 || family == 0x18)49 49 t = pstate.fam17h_bits.did; 50 50 else 51 51 t = pstate.bits.did; .. .. @@ -59,7 +59,7 @@ 59 59 int fid, did, cof; 60 60 61 61 did = get_did(family, pstate); 62 - if (family == 0x17) {62 + if (family == 0x17 || family == 0x18) {63 63 fid = pstate.fam17h_bits.fid; 64 64 cof = 200 * fid / did; 65 65 } else {