From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E61D7415F2B; Sat, 10 Oct 2026 06:38:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791614299; cv=none; b=iInAiTuXZO8/uj5fpohnuSl7P3perIhDyWY+TMbyeLtKQs69vGx/mDC3eNPczgDZsqeSo0qBU5gbSdk+0AxY6gRZkPFCTOhFTrxjTe9DkV3BKSqZjTbhCmSkNfOtrGY/GmUiTt/Wm+vD7kCbBRQPLFsuJB5yBCi5qGHgCyEzs4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791614299; c=relaxed/simple; bh=FRkbyicEgHvVn+9maphnvTU+dFbi1rgBLTqcvHIHWLs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=QbC4cestBBF7lmjDXrshbCrgvc1qi0AmQJSiXdYFiLAT5mQ41oAZnF5P9JLGVdBfykgn7SGrCCUKaOZpfL3L5d57JOZPJrdtEpAN9/g7pQQ5KOMpqKgaGSzTMgyxx/6tUUBdOOBmZA2zV9EG5BwxkR9FF9gTUogo7lrvV1Xzf/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nGDBEUaR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nGDBEUaR" Received: by smtp.kernel.org (Postfix) with ESMTPS id 86A2DC2BCC7; Sat, 10 Oct 2026 06:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1791614298; bh=FRkbyicEgHvVn+9maphnvTU+dFbi1rgBLTqcvHIHWLs=; h=From:Date:Subject:To:Cc:Reply-To:From; b=nGDBEUaRVR/T8TvqJBEPis7RLQe5JREuUNTZO0G66PDo2mGiVuvTs07RY3Tls5d5R tTaUVZUgmTk6CAlyTorJ2IvRL1hE94VqBbimW5JA0ZNERO85DzARvhSLbz9mAIRCuM Uwo8glDIkKX/of1vN0kAQpbMPmjOfPFKYtwui37nNsEpHbsWij0oFJ9S18OIFjn7KX HZ5lC227FYOlLF/i51QNrt1JSxd4zOKyAdOX5wvH8NTk7ZcBh9AtGt/7TY5vqROfFc GwS1NzIEL03isM98ZpTME0lNaAeWHlLBDErGkDYBhFxa+4giqgBkj0pDMQZ04D1mdc TOx65Ly5fnlRQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62D96CA6017; Sat, 10 Oct 2026 06:38:18 +0000 (UTC) From: =?utf-8?q?Mert_Erdo=C4=9Fan_via_B4_Relay?= Date: Sat, 10 Oct 2026 09:38:10 +0300 Subject: [PATCH] platform/x86: hp-wmi: Add Victus 16-e0xxx board 88EE support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20261010-hp-wmi-victus-88ee-v1-1-e2200686bc2b@gmail.com> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/12NzU7DMBAGXyXymUVeJ/6LEOI9UA+2s2kX4bbES UCq+u44DSduO9K3MzdRaGIqom9uYqKVC1/OFfCpEekUzkcCHioLJZVBiRJOV/jODCuneSngHBG gHZXr3KA624r6eJ1o5J+H9P2wc1niB6V5M/0tJvpaam3eZyJTKeFR65uXPSbt/1hQBlYE3C5tQ sLOS/d2zIE/n9Mlv27qGApBhcxz33g3ytYro0k7qTwOmqwJiFFJq3SHY4yYWt+Kw/3+C8AFNnU LAQAA X-Change-ID: 20261010-hp-wmi-victus-88ee-17f2848d2473 To: Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Ege_Kundak=C3=A7=C4=B1o=C4=9Flu?= , =?utf-8?q?Mert_Erdo=C4=9Fan?= X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1791614297; l=2781; i=mrterdo75@gmail.com; s=20261007; h=from:subject:message-id; bh=krMjwVPvW4p6J7pzdTxvOgoD3/uAh2OaFLpfxtDbAN0=; b=i8Bz2jidRj5j39v1cloaOrkqxqI3DRXdZVN9wBBGCS8B2mmdvWNW3YLlwvYnEdaVHhrp4D2N4 kOIBIo3qQadC6USbVfi/tcXgvlMKO5QDLMVE7v+7B1KTCan+AKM3iZh X-Developer-Key: i=mrterdo75@gmail.com; a=ed25519; pk=bUOfewdT6wnBK6cWdxYDgGaI8ee0+BwtzPbg982vJP8= X-Endpoint-Received: by B4 Relay for mrterdo75@gmail.com/20261007 with auth_id=1127 X-Original-From: =?utf-8?q?Mert_Erdo=C4=9Fan?= Reply-To: mrterdo75@gmail.com From: Mert Erdoğan 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 Assisted-by: claude-opus-5-5 Signed-off-by: Mert Erdoğan --- 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