]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_power_cpufreq.c
power: support cppc_cpufreq driver
[dpdk.git] / app / test / test_power_cpufreq.c
index 0c3adc5f33bdb2201506e199ab912df6adccce29..8516df4ca606c165eded4195e368c680c8381923 100644 (file)
@@ -496,7 +496,8 @@ test_power_cpufreq(void)
 
        /* Test environment configuration */
        env = rte_power_get_env();
-       if ((env != PM_ENV_ACPI_CPUFREQ) && (env != PM_ENV_PSTATE_CPUFREQ)) {
+       if ((env != PM_ENV_ACPI_CPUFREQ) && (env != PM_ENV_PSTATE_CPUFREQ) &&
+                       (env != PM_ENV_CPPC_CPUFREQ)) {
                printf("Unexpectedly got an environment other than ACPI/PSTATE\n");
                goto fail_all;
        }