mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mert Erdoğan via B4 Relay" <devnull+mrterdo75.gmail.com@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,
	"Ege Kundakçıoğlu" <egekun67@gmail.com>,
	"Mert Erdoğan" <mrterdo75@gmail.com>
Subject: [PATCH] platform/x86: hp-wmi: Add Victus 16-e0xxx board 88EE support
Date: Sat, 10 Oct 2026 09:38:10 +0300	[thread overview]
Message-ID: <20261010-hp-wmi-victus-88ee-v1-1-e2200686bc2b@gmail.com> (raw)

From: Mert Erdoğan <mrterdo75@gmail.com>

The HP Victus 16-e0xxx (board 88EE) is not in any of the Omen or Victus
board lists, so it falls back to the generic thermal profile handling
and the GPU cTGP offset is never enabled.

Its DSDT handles the 0x20008 type 0x1A query like the 8A26 one: the
mode is stored in the EC register at offset 0x95, which is what the
Victus path reads back, and cTGP is enabled in performance mode. Add
88EE to victus_thermal_profile_boards and update the comment above the
list, which only mentioned the Victus 16-d.

Ege Kundakçıoğlu tested this on a Victus 16-e0xxx (BIOS F.27, RTX 3060
Laptop GPU). With the unpatched module the GPU power limit stays at
80 W in the balanced, performance and quiet profiles. With this patch
performance gives 95 W, balanced 80 W and quiet 30 W, the EC register
at 0x95 matches the selected profile, and in performance the limit is
back at 95 W after unplugging and replugging AC.

Unlike on 8A26, the 0x1A query only sets cTGP here. Dynamic Boost (the
NPCF DTGP flag) reads back as 0, as the only WMI query that sets it is
0x22, which the Victus path does not send. The GPU still reaches its
95 W maximum, and the tester sees the same maximum on Windows.

This patch was prepared with an AI coding agent (Claude Code, using
Claude Opus 5.5). It checked the DSDT, wrote the change and the test
script. Ege ran the test on the laptop and I checked the results.

Tested-by: Ege Kundakçıoğlu <egekun67@gmail.com>
Assisted-by: claude-opus-5-5
Signed-off-by: Mert Erdoğan <mrterdo75@gmail.com>
---
This applies on top of my pending 8A26 patch for the same board list:
https://lore.kernel.org/r/20261007-hp-wmi-victus-8a26-v1-1-8a256ac14908@gmail.com

Before this patch the owner of the laptop enabled cTGP with an
acpi_call workaround sending the same 0x1A query in performance mode.
---
 drivers/platform/x86/hp/hp-wmi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c
index 15f1e9f63..1c16a0656 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -230,8 +230,9 @@ static const char * const omen_timed_thermal_profile_boards[] = {
 	"8BAD",
 };
 
-/* DMI Board names of Victus 16-d laptops */
+/* DMI Board names of Victus 16-d and 16-e laptops */
 static const char * const victus_thermal_profile_boards[] = {
+	"88EE",
 	"88F8",
 	"8A25",
 	"8A26",

---
base-commit: 98f039265e580291d5e76a11b2072541fbb1c393
change-id: 20261010-hp-wmi-victus-88ee-17f2848d2473
prerequisite-message-id: <20261007-hp-wmi-victus-8a26-v1-1-8a256ac14908@gmail.com>
prerequisite-patch-id: 3f4190ae015c5cfc0c87dd8b3f7829a95effb9cb

Best regards,
--  
Mert Erdoğan <mrterdo75@gmail.com>



                 reply	other threads:[~2026-10-10  6:38 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=20261010-hp-wmi-victus-88ee-v1-1-e2200686bc2b@gmail.com \
    --to=devnull+mrterdo75.gmail.com@kernel.org \
    --cc=egekun67@gmail.com \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mrterdo75@gmail.com \
    --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®