]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: asus-armoury: fix ppt data for FA507R
authorDenis Benato <denis.benato@linux.dev>
Mon, 29 Dec 2025 15:07:55 +0000 (16:07 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 29 Dec 2025 15:41:21 +0000 (17:41 +0200)
PPT data for FA507R was reported to be wrong by a user:
change limits to make them equal to Armoury Crate limits.

Fixes: 39ae6c50e599 ("platform/x86: asus-armoury: add ppt_* and nv_* tuning knobs")
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20251229150755.1351495-1-denis.benato@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-armoury.h

index 24977a9da22997f95b9ab35e568ecfcbbf7c0f51..68b174b70a66e2da149d17520c97cc9aee55ca3c 100644 (file)
@@ -449,12 +449,27 @@ static const struct dmi_system_id power_limits[] = {
                        .ac_data = &(struct power_limits) {
                                .ppt_pl1_spl_min = 15,
                                .ppt_pl1_spl_max = 80,
-                               .ppt_pl2_sppt_min = 25,
+                               .ppt_pl2_sppt_min = 35,
                                .ppt_pl2_sppt_max = 80,
                                .ppt_pl3_fppt_min = 35,
-                               .ppt_pl3_fppt_max = 80
+                               .ppt_pl3_fppt_max = 80,
+                               .nv_dynamic_boost_min = 5,
+                               .nv_dynamic_boost_max = 25,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
+                       },
+                       .dc_data = &(struct power_limits) {
+                               .ppt_pl1_spl_min = 15,
+                               .ppt_pl1_spl_def = 45,
+                               .ppt_pl1_spl_max = 65,
+                               .ppt_pl2_sppt_min = 35,
+                               .ppt_pl2_sppt_def = 54,
+                               .ppt_pl2_sppt_max = 65,
+                               .ppt_pl3_fppt_min = 35,
+                               .ppt_pl3_fppt_max = 65,
+                               .nv_temp_target_min = 75,
+                               .nv_temp_target_max = 87,
                        },
-                       .dc_data = NULL,
                },
        },
        {