From: Nick Myers <nickbmyers217@gmail.com>
To: "Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org,
Nick Myers <nickbmyers217@gmail.com>
Subject: [PATCH] platform/x86: hp-wmi: Add HP HyperX OMEN 16-ap1xxx (8F21)
Date: Fri, 4 Dec 2026 17:23:57 -0600 [thread overview]
Message-ID: <20261204232357.694549-1-nickbmyers217@gmail.com> (raw)
The HP HyperX OMEN Gaming Laptop 16-ap1xxx (DMI board 8F21, AMD Ryzen 9
8940HX + NVIDIA GeForce RTX 5060 Laptop GPU, BIOS F.04) is missing from
hp_wmi_feature_boards[], so platform_profile is not exposed and the EC
stays in its default balanced power limit.
Reading EC offset 0x95 via ec_sys confirms it reflects the OMEN v1
thermal profile (0x30 in balanced, 0x31 in performance), matching its
sibling board 8F1C. Add board 8F21 to hp_wmi_feature_boards[] using
omen_v1_legacy_board_params.
Tested on an HP HyperX OMEN Gaming Laptop 16-ap1xxx (board 8F21, kernel
7.2.15): after loading the patched hp-wmi module, platform_profile
exposes low-power, balanced, and performance profiles, fan RPM reporting
and pwm1_enable controls work without kernel errors, and switching to
performance unlocks GPU dynamic boost above the 80W base limit
(observed up to 113W limit and ~95W sustained draw at 2535 MHz).
Signed-off-by: Nick Myers <nickbmyers217@gmail.com>
---
drivers/platform/x86/hp/hp-wmi.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c
index 16cfac5..b86f6b8 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -377,6 +377,10 @@ static const struct dmi_system_id hp_wmi_feature_boards[] __initconst = {
.matches = { DMI_MATCH(DMI_BOARD_NAME, "8F1C") },
.driver_data = (void *)&omen_v1_legacy_board_params,
},
+ {
+ .matches = { DMI_MATCH(DMI_BOARD_NAME, "8F21") },
+ .driver_data = (void *)&omen_v1_legacy_board_params,
+ },
{},
};
--
2.56.0
reply other threads:[~2026-12-04 23:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261204232357.694549-1-nickbmyers217@gmail.com \
--to=nickbmyers217@gmail.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--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®