mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: the-catman via B4 Relay <devnull+thecatman12.proton.me@kernel.org>
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,  the-catman <thecatman12@proton.me>
Subject: [PATCH] platform/x86: hp-wmi: Add support for HP OMEN 16-ae0xxx (8CC0)
Date: Wed, 25 Nov 2026 10:39:00 +0200	[thread overview]
Message-ID: <20261125-master-v1-1-e1d881b3b9d6@proton.me> (raw)

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>



                 reply	other threads:[~2026-11-25  8:39 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=20261125-master-v1-1-e1d881b3b9d6@proton.me \
    --to=devnull+thecatman12.proton.me@kernel.org \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=thecatman12@proton.me \
    /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®