mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David William Richmond Davies-Jones <david@exultantmonkey.co.uk>
To: "Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Krishna Chomal <krishna.chomal108@gmail.com>,
	Julien ROBIN <julien.robin28@free.fr>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	David William Richmond Davies-Jones <david@exultantmonkey.co.uk>
Subject: [PATCH v2 0/2] platform/x86: hp-wmi: Fix cTGP and power limits on OMEN 15-en1xxx (88D2)
Date: Sun, 22 Nov 2026 23:43:49 +0000	[thread overview]
Message-ID: <20261122234351.278694-1-david@exultantmonkey.co.uk> (raw)

On the OMEN 15-en1xxx (board 88D2) the GPU stays at its 80 W default in
every platform profile because the board is handled by the Omen profile
path, which never enables cTGP on thermal policy v1 firmware.

Patch 2 moves the board to hp_wmi_feature_boards[] so it uses the
Victus S path, which sets cTGP and Dynamic Boost per profile and enables
fan control. On this firmware the power-limit refresh that path does on
power source changes sets the CPU limits to 0 W, so patch 1 adds a
per-board flag to skip it.

Other AMD boards in hp_wmi_feature_boards[] may have the same
SET_POWER_LIMITS handler. Only 88D2 has been tested, so the flag is set
for it alone.

Changes in v2:
- Drop the omen_ctgp_boards[] list and the extra cTGP call. Move 88D2
  from omen_thermal_profile_boards[] to hp_wmi_feature_boards[] and
  reuse the existing Victus S path instead (suggested in review).
- Dynamic Boost (PPAB) now follows the profile.
- Manual fan control and fan table support are enabled as a result.
- New patch 1: skip the power limit refresh on AC changes, which set
  0 W CPU limits on this board.
- Rebased on pdx86/fixes.

v1: https://lore.kernel.org/platform-driver-x86/20261030005724.84507-1-david@exultantmonkey.co.uk/

David William Richmond Davies-Jones (2):
  platform/x86: hp-wmi: Allow boards to skip the power limit refresh
  platform/x86: hp-wmi: Move OMEN 15-en1xxx (board 88D2) to feature
    board list

 drivers/platform/x86/hp/hp-wmi.c | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

-- 
2.56.1


             reply	other threads:[~2026-11-22 23:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 23:43 David William Richmond Davies-Jones [this message]
2026-11-22 23:43 ` [PATCH v2 1/2] platform/x86: hp-wmi: Allow boards to skip the power limit refresh David William Richmond Davies-Jones
2026-11-22 23:43 ` [PATCH v2 2/2] platform/x86: hp-wmi: Move OMEN 15-en1xxx (board 88D2) to feature board list David William Richmond Davies-Jones

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=20261122234351.278694-1-david@exultantmonkey.co.uk \
    --to=david@exultantmonkey.co.uk \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=julien.robin28@free.fr \
    --cc=krishna.chomal108@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --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®