mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86: hp-wmi: Add support for HP OMEN 16-ae0xxx (8CC0)
@ 2026-11-25  8:39 the-catman via B4 Relay
  0 siblings, 0 replies; only message in thread
From: the-catman via B4 Relay @ 2026-11-25  8:39 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, the-catman

From: the-catman <thecatman12@proton.me>

The HP OMEN 16-ae0xxx (board ID 8CC0) has the same WMI interface as
other Victus S boards, but requires quirks for correctly switching
thermal profile (similar to HP Omen 16-wf1xxx, board ID 8C78).

Without an entry, the driver falls back to the generic HP thermal
profile path, whose query fails on this board
("hp_wmi: query 0x4c returned error 0x6"), so no platform profile is
registered and the EC can't be switched out of its default mode from
Linux.

Add the DMI board name to the hp_wmi_feature_boards[] table and map it
to omen_v1_board_params.

Tested on an HP OMEN 16-ae0xxx (i7-14700HX, RTX 4070 Laptop GPU,
BIOS F.14): the platform profile registers with low-power, balanced
and performance, the profile read back from the EC matches the
selected one, fan RPMs are readable, and switching profiles changes
the CPU power limits programmed by the firmware (MSR PL1/PL2 of
55/130 W in low-power and balanced, 130/130 W in performance).

Signed-off-by: the-catman <thecatman12@proton.me>
---
Tested on Ubuntu's 7.0.0-44 kernel with the equivalent pre-rework entry
(victus_s_thermal_profile_boards[] -> omen_v1_thermal_params), which
matches what omen_v1_board_params selects in for-next.
---
 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..376e8a1 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -325,6 +325,10 @@ static const struct dmi_system_id hp_wmi_feature_boards[] __initconst = {
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8C9C") },
 		.driver_data = (void *)&victus_s_board_params,
 	},
+	{
+		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8CC0") },
+		.driver_data = (void *)&omen_v1_board_params,
+	},
 	{
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8D26") },
 		.driver_data = (void *)&omen_v1_legacy_board_params,

---
base-commit: 61c0dac952b9308884936d05cce97565a5c89af4
change-id: 20261125-master-77bf836ce5ac

Best regards,
-- 
the-catman <thecatman12@proton.me>



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

only message in thread, other threads:[~2026-11-25  8:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25  8:39 [PATCH] platform/x86: hp-wmi: Add support for HP OMEN 16-ae0xxx (8CC0) the-catman via B4 Relay

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®