forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/tools/power/cpupower/utils/helpers/misc.c
....@@ -26,7 +26,7 @@
2626 * has Hardware determined variable increments instead.
2727 */
2828
29
- if (cpu_info.family == 0x17) {
29
+ if (cpu_info.family == 0x17 || cpu_info.family == 0x18) {
3030 if (!read_msr(cpu, MSR_AMD_HWCR, &val)) {
3131 if (!(val & CPUPOWER_AMD_CPBDIS))
3232 *active = 1;