mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86: hp-wmi: Add HP HyperX OMEN 16-ap1xxx (8F21)
@ 2026-12-04 23:23 Nick Myers
  0 siblings, 0 replies; only message in thread
From: Nick Myers @ 2026-12-04 23:23 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Nick Myers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-04 23:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-04 23:23 [PATCH] platform/x86: hp-wmi: Add HP HyperX OMEN 16-ap1xxx (8F21) Nick Myers

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®