mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3] platform/x86: hp-wmi: add support for OMEN 16-am2xxx boards
@ 2026-10-07  3:08 Shuwen Bao
  2026-10-15 14:28 ` Ilpo Järvinen
  0 siblings, 1 reply; 5+ messages in thread
From: Shuwen Bao @ 2026-10-07  3:08 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Krishna Chomal,
	Emre Cecanpunar, Suryansh Singh, Radhey Kalra,
	Kürşat Abaylı,
	Shuwen Bao

The HP HyperX OMEN 16-am2xxx (DMI board 8F1C, 26C1 platform cycle,
Arrow Lake-HXR) is listed in the OMEN Command Center device
capability table with DisplayName "HyperX OMEN 16" and the
"PerformanceControl" feature, but is missing from the kernel's
hp_wmi_feature_boards[] list.

Add 8F1C to the hp_wmi_feature_boards[] list, using
omen_v1_legacy_board_params as driver_data.

Tested on a HyperX OMEN 16-am2xxx (kernel 7.3.0-rc6):
after loading the patched hp-wmi module, the platform_profile
interface is exposed, and switching to the performance profile
raises the CPU from a ~2.9 GHz (P-core) / 2.6 GHz (E-core) cap to
~5 GHz / ~3.5 GHz under a multi-thread load (stress-ng). The GPU cap is
raised to ~114W, tested with gpu_burn.

Suggested-by: Krishna Chomal <krishna.chomal108@gmail.com>
Signed-off-by: Shuwen Bao <baoshuwen2013@outlook.com>

---
v3:
 - Switch to the hp_wmi_feature_boards[] approach instead of
   omen_thermal_profile_boards[], as suggested by Krishna.

v2: https://lore.kernel.org/platform-driver-x86/SI2PR04MB58957D08A31E56D73C751885A2862@SI2PR04MB5895.apcprd04.prod.outlook.com/
v1: https://lore.kernel.org/platform-driver-x86/SI2PR04MB589526A21FB0EF4E8ABA749CA2AB2@SI2PR04MB5895.apcprd04.prod.outlook.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 615b4cf6fc45..37c3e94e6819 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -343,6 +343,10 @@ static const struct dmi_system_id hp_wmi_feature_boards[] __initconst = {
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8E35") },
 		.driver_data = (void *)&omen_v1_legacy_board_params,
 	},
+	{
+		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8F1C") },
+		.driver_data = (void *)&omen_v1_legacy_board_params,
+	},
 	{},
 };
 
-- 
2.53.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-27 10:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07  3:08 [PATCH v3] platform/x86: hp-wmi: add support for OMEN 16-am2xxx boards Shuwen Bao
2026-10-15 14:28 ` Ilpo Järvinen
2026-10-24 10:36   ` Shuwen Bao
2026-10-26 16:17     ` Ilpo Järvinen
2026-10-27 10:16       ` Shuwen Bao

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®