Skip to contentSkip to conversation

platform/x86: asus-armoury: add power limits quirk for FX707ZC4

PATCH In review Vyacheslav Vankevich 1 participant 2 messages Nov 19 – Nov 20 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: asus-armoury: add power limits quirk for FX707ZC4

Add PPT power limits for the ASUS TUF Gaming F17 FX707ZC4 (Intel Core i5-12500H, NVIDIA GeForce RTX 3050 Laptop).

The EC starts with a 5 W package limit, which clamps the CPU to 400 MHz until userspace writes working limits. The firmware ignores PPT writes unless a custom fan curve is active, so mark the quirk with requires_fan_curve.

Limits validated on the hardware (BIOS FX707ZC4.311, 2024-10-18):
- AC: PL1 25-90 W (default 45), PL2 35-115 W (default 90)
- DC: PL1 25-45 W (default 35), PL2 35-60 W (default 60)

---
 drivers/platform/x86/asus-armoury.h | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
drivers/platform/x86/asus-armoury.h +24 -0
@@ -1229,6 +1229,30 @@
 	},
 	{
 		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "FX707ZC4"),
+		},
+		.driver_data = &(struct power_data) {
+			.ac_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 25,
+				.ppt_pl1_spl_def = 45,
+				.ppt_pl1_spl_max = 90,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl2_sppt_def = 90,
+				.ppt_pl2_sppt_max = 115,
+			},
+			.dc_data = &(struct power_limits) {
+				.ppt_pl1_spl_min = 25,
+				.ppt_pl1_spl_def = 35,
+				.ppt_pl1_spl_max = 45,
+				.ppt_pl2_sppt_min = 35,
+				.ppt_pl2_sppt_def = 60,
+				.ppt_pl2_sppt_max = 60,
+			},
+			.requires_fan_curve = true,
+		},
+	},
+	{
+		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "G533QS"),
 		},
 		.driver_data = &(struct power_data) {
#1 lore raw

Hi,

A short update after re-testing with the latest firmware, BIOS FX707ZC4.312 (2024-12-03): the EC still boots with a 5 W package limit and the CPU is clamped to 400 MHz until working limits are written, so the quirk is still required on this BIOS version. The reported limits and the requires_fan_curve requirement are unchanged.

Verified on both BIOS FX707ZC4.311 (2024-10-18) and FX707ZC4.312 (2024-12-03).

Best regards,
Vyacheslav Vankevich