forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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;