From: Nikita Ivannikov <www.nextry@gmail.com>
To: "Corentin Chary" <corentin.chary@gmail.com>,
"Luke D . Jones" <luke@ljones.dev>,
"Denis Benato" <denis.benato@linux.dev>,
"Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Chipang Kao <chipang_kao@asus.com>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org,
Nikita Ivannikov <www.nextry@gmail.com>
Subject: [PATCH 1/2] platform/asus: asus-armoury: add power limits quirk for GA403GM
Date: Thu, 26 Nov 2026 00:54:30 +0300 [thread overview]
Message-ID: <20261125215431.120307-2-www.nextry@gmail.com> (raw)
In-Reply-To: <20261125215431.120307-1-www.nextry@gmail.com>
Add a power limits quirk entry for the ASUS ROG Zephyrus G14 (2026)
GA403GM (AMD Ryzen AI 9 465, NVIDIA GeForce RTX 5060 Laptop GPU).
Without it, asus-armoury logs "No matching power limits found for this
system" and the ppt_* and nv_* firmware attributes return -ENODEV.
No ThrottleGear XML is available for this model, so the limits are
taken from the GA403WM entry. Both are the same Zephyrus G14 chassis
(31.1 x 22.0 x 1.59 cm, 73 Wh battery) with an RTX 5060 Laptop GPU, and
ASUS specifies the same GPU power for the GA403GM: 85 W TGP plus 15 W
Dynamic Boost (100 W) in Manual mode, which matches the GA403WM
nv_tgp_max and nv_dynamic_boost_max values.
Tested on a GA403GM (BIOS GA403GM.302) running 7.3.6 with this entry
applied to the 7.3.6 asus-armoury.h: the ppt_*, nv_dynamic_boost,
nv_temp_target and nv_tgp attributes are exposed with the ranges above,
and ppt_pl1_spl=81 is rejected with -EINVAL. As on the GA403WM, PPT
writes return -EBUSY until a custom fan curve is enabled; without one,
PPT writes through the legacy asus-nb-wmi attributes are silently
ignored by the firmware, so requires_fan_curve is needed here too. With
the custom CPU fan curve enabled, PL1/PL2/PL3 values of 25/30/40 W and
80/80/80 W were accepted, and ryzenadj --info reported the matching
STAPM, slow and fast limits. The NVIDIA attributes were only read.
Signed-off-by: Nikita Ivannikov <www.nextry@gmail.com>
---
drivers/platform/asus/asus-armoury.h | 32 ++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/drivers/platform/asus/asus-armoury.h b/drivers/platform/asus/asus-armoury.h
index 331c3bddf013..33b3014815a3 100644
--- a/drivers/platform/asus/asus-armoury.h
+++ b/drivers/platform/asus/asus-armoury.h
@@ -1395,6 +1395,38 @@ static const struct dmi_system_id power_limits[] = {
.requires_fan_curve = true,
},
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "GA403GM"),
+ },
+ .driver_data = &(struct power_data) {
+ .ac_data = &(struct power_limits) {
+ .ppt_pl1_spl_min = 15,
+ .ppt_pl1_spl_max = 80,
+ .ppt_pl2_sppt_min = 25,
+ .ppt_pl2_sppt_max = 80,
+ .ppt_pl3_fppt_min = 35,
+ .ppt_pl3_fppt_max = 80,
+ .nv_dynamic_boost_min = 0,
+ .nv_dynamic_boost_max = 15,
+ .nv_temp_target_min = 75,
+ .nv_temp_target_max = 87,
+ .nv_tgp_min = 55,
+ .nv_tgp_max = 85,
+ },
+ .dc_data = &(struct power_limits) {
+ .ppt_pl1_spl_min = 15,
+ .ppt_pl1_spl_max = 35,
+ .ppt_pl2_sppt_min = 25,
+ .ppt_pl2_sppt_max = 35,
+ .ppt_pl3_fppt_min = 35,
+ .ppt_pl3_fppt_max = 65,
+ .nv_temp_target_min = 75,
+ .nv_temp_target_max = 87,
+ },
+ .requires_fan_curve = true,
+ },
+ },
{
.matches = {
DMI_MATCH(DMI_BOARD_NAME, "GA403UI"),
--
2.56.1
next prev parent reply other threads:[~2026-11-25 21:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 21:54 [PATCH 0/2] platform/asus: asus-armoury: GA403GM power limits and a MAINTAINERS fix Nikita Ivannikov
2026-11-25 21:54 ` Nikita Ivannikov [this message]
2026-11-25 21:54 ` [PATCH 2/2] MAINTAINERS: cover all files in drivers/platform/asus/ Nikita Ivannikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125215431.120307-2-www.nextry@gmail.com \
--to=www.nextry@gmail.com \
--cc=chipang_kao@asus.com \
--cc=corentin.chary@gmail.com \
--cc=denis.benato@linux.dev \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luke@ljones.dev \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®