Skip to contentSkip to conversation

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

PATCH Superseded Marco Scardovi 1 participant 6 messages Oct 16 1 message not in the archive x86 platform drivers

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/6 platform/x86: asus-armoury: add power limits quirk for G713QR

Add a power limits quirk entry for the ASUS G713QR laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +13 -0
@@ -1130,6 +1130,19 @@
 			.requires_fan_curve = true,
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "G713QR"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.ppt_pl1_spl_max = 80,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 80,
+					.ppt_pl2_sppt_min = 15,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "GA401IHR"),
Signature · 1 line
2.56.0
#2 lore raw

PATCH v2 2/6 platform/x86: asus-armoury: add power limits quirk for FA608PM

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608PM laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 29 changes(+/-)

 1 file changed, 29 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +29 -0
@@ -787,6 +787,35 @@
 			},
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "FA608PM"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 15,
+					.nv_dynamic_boost_min = 10,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 100,
+					.ppt_pl1_spl_min = 45,
+					.ppt_pl2_sppt_max = 115,
+					.ppt_pl2_sppt_min = 60,
+					.ppt_pl3_fppt_max = 135,
+					.ppt_pl3_fppt_min = 80,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 68,
+					.ppt_pl1_spl_min = 35,
+					.ppt_pl2_sppt_max = 71,
+					.ppt_pl2_sppt_min = 36,
+					.ppt_pl3_fppt_max = 74,
+					.ppt_pl3_fppt_min = 70,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608UM"),
Signature · 1 line
2.56.0
#3 lore raw

PATCH v2 3/6 platform/x86: asus-armoury: add power limits quirk for FA608UH

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608UH laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 31 changes(+/-)

 1 file changed, 31 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -816,6 +816,37 @@
 				},
 			},
 		},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "FA608UH"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 15,
+					.nv_dynamic_boost_min = 10,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 90,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 90,
+					.ppt_pl2_sppt_min = 35,
+					.ppt_pl3_fppt_max = 90,
+					.ppt_pl3_fppt_min = 35,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_def = 45,
+					.ppt_pl1_spl_max = 65,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_def = 54,
+					.ppt_pl2_sppt_max = 65,
+					.ppt_pl2_sppt_min = 35,
+					.ppt_pl3_fppt_max = 65,
+					.ppt_pl3_fppt_min = 35,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608UM"),
Signature · 1 line
2.56.0
#4 lore raw

PATCH v2 4/6 platform/x86: asus-armoury: add power limits quirk for FA608UP

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS FA608UP laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 31 changes(+/-)

 1 file changed, 31 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -883,6 +883,37 @@
 			},
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "FA608UP"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 15,
+					.nv_dynamic_boost_min = 10,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 90,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 90,
+					.ppt_pl2_sppt_min = 35,
+					.ppt_pl3_fppt_max = 90,
+					.ppt_pl3_fppt_min = 35,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_def = 45,
+					.ppt_pl1_spl_max = 65,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_def = 54,
+					.ppt_pl2_sppt_max = 65,
+					.ppt_pl2_sppt_min = 35,
+					.ppt_pl3_fppt_max = 65,
+					.ppt_pl3_fppt_min = 35,
+				},
+			},
+		},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA608WI"),
Signature · 1 line
2.56.0
#5 lore raw

PATCH v2 5/6 platform/x86: asus-armoury: add power limits quirk for GA402NV

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS GA402NV laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 31 changes(+/-)

 1 file changed, 31 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +31 -0
@@ -1294,6 +1294,37 @@
 			},
 		},
 	},
+		{
+			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "GA402NV"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.nv_dynamic_boost_max = 25,
+					.nv_dynamic_boost_min = 5,
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_def = 35,
+					.ppt_pl1_spl_max = 80,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_def = 65,
+					.ppt_pl2_sppt_max = 80,
+					.ppt_pl2_sppt_min = 25,
+					.ppt_pl3_fppt_max = 80,
+					.ppt_pl3_fppt_min = 35,
+				},
+				.dc_data = &(struct power_limits) {
+					.nv_temp_target_max = 87,
+					.nv_temp_target_min = 75,
+					.ppt_pl1_spl_max = 35,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 35,
+					.ppt_pl2_sppt_min = 25,
+					.ppt_pl3_fppt_max = 65,
+					.ppt_pl3_fppt_min = 35,
+				},
+			},
+		},
 	{
 		.matches = {
 			// This model is full AMD. No Nvidia dGPU.
Signature · 1 line
2.56.0
#6 lore raw

PATCH v2 6/6 platform/x86: asus-armoury: add power limits quirk for G533QS

In reply to a message not in the archive

Add a power limits quirk entry for the ASUS G533QS laptop. The limits are extracted from the device's ThrottleGear XML configuration.

---
drivers/platform/x86/asus-armoury.h | 13 changes(+/-)

 1 file changed, 13 insertions(+), 0 deletions(-)
drivers/platform/x86/asus-armoury.h +13 -0
@@ -1223,6 +1223,19 @@
 	},
 		{
 			.matches = {
+				DMI_MATCH(DMI_BOARD_NAME, "G533QS"),
+			},
+			.driver_data = &(struct power_data) {
+				.ac_data = &(struct power_limits) {
+					.ppt_pl1_spl_max = 80,
+					.ppt_pl1_spl_min = 15,
+					.ppt_pl2_sppt_max = 80,
+					.ppt_pl2_sppt_min = 15,
+				},
+			},
+		},
+		{
+			.matches = {
 				DMI_MATCH(DMI_BOARD_NAME, "G713QR"),
 			},
 			.driver_data = &(struct power_data) {
Signature · 1 line
2.56.0