[PATCH AUTOSEL 6.19] platform/x86: hp-wmi: Add Victus 16-d0xxx support

From: Sasha Levin

Date: Tue Mar 10 2026 - 05:10:21 EST


From: Victor Lattaro Volpini <victorlattaro@xxxxxxxxx>

[ Upstream commit 249f05e625c6e6c14b27fd34a2f06a1afb9b456d ]

This patch enables Victus thermal profile support for the HP
Victus 16-d0xxx. It does so by adding model's DMI board name 88F8 to
victus_thermal_profile_boards.

Tested on a Victus 16-d0xxx:
- Victus thermal profile choices available (quiet, balanced, performance)
instead of the default ones (cool, quiet, balanced, performance);
- Profile switching works correctly;
- About 4% increase in FPS using benchmark Cyberpunk 2077 on
performance profile;
- No noticeable regressions.

Signed-off-by: Victor Lattaro Volpini <victorlattaro@xxxxxxxxx>
Link: https://patch.msgid.link/20260210000048.250280-1-victorlattaro@xxxxxxxxx
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
---

LLM Generated explanations, may be completely bogus:

## Analysis

This commit adds a single DMI board name ("88F8") to the
`victus_thermal_profile_boards` array in the HP WMI platform driver,
enabling thermal profile support (quiet, balanced, performance) for the
HP Victus 16-d0xxx laptop. The comment is also updated from "16-d1xxx"
to "16-d" to reflect the broader coverage.

### Classification: Hardware ID Addition

This falls squarely into the **"New Device IDs"** exception category for
stable backports. It's adding a board identifier to an existing, well-
established list so that an already-implemented feature works on a
specific hardware model.

### Code Change Assessment

The actual code change is minimal:
- **+1 line**: Adding `"88F8"` to the `victus_thermal_profile_boards`
string array
- **1 line modified**: Comment updated from "Victus 16-d1xxx" to "Victus
16-d"

This is about as low-risk as a change can be. The array is used to match
against DMI board names, and if no match occurs, the code simply takes a
different path. Adding an entry can only affect the specific hardware it
matches.

### Testing and Review

- Tested on the actual HP Victus 16-d0xxx hardware by the author
- Thermal profile switching verified to work correctly
- No regressions observed
- Reviewed by subsystem maintainer Ilpo Järvinen

### Risk vs. Benefit

- **Risk**: Essentially zero. The change only activates for the specific
board with DMI name "88F8". No other hardware is affected.
- **Benefit**: Users of the HP Victus 16-d0xxx get proper thermal
profile support instead of incorrect default profiles, enabling
correct fan/performance management.

### Stable Criteria Check

1. Obviously correct and tested: **Yes** - trivial addition, tested on
hardware
2. Fixes a real bug: **Yes** - wrong thermal profiles presented to users
of this hardware
3. Important issue: **Moderate** - hardware not working correctly for
its users
4. Small and contained: **Yes** - one-line addition to a string array
5. No new features: **Correct** - enables existing feature on new
hardware
6. Applies cleanly: **Very likely** - the array has existed for multiple
releases

### Verification

- Confirmed from the diff that the change is a single string addition to
an existing `const char *` array
- The `victus_thermal_profile_boards` array is an existing mechanism in
the driver for matching Victus laptops by DMI board name
- The commit has `Reviewed-by: Ilpo Järvinen` (subsystem maintainer)
confirming review
- The commit message documents actual hardware testing with specific
results
- The change follows the exact same pattern as the existing "8A25" entry
already in the array

This is a textbook device ID / hardware quirk addition - the most common
and least controversial type of stable backport.

**YES**

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 ec87fd96686cf..e3a7ac2485d68 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -154,8 +154,9 @@ static const char * const omen_timed_thermal_profile_boards[] = {
"8BAD",
};

-/* DMI Board names of Victus 16-d1xxx laptops */
+/* DMI Board names of Victus 16-d laptops */
static const char * const victus_thermal_profile_boards[] = {
+ "88F8",
"8A25",
};

--
2.51.0