[PATCH] platform/x86: hp-wmi: Add OMEN board 8D40 thermal profile support

Suryansh Singh posted 1 patch 1 month ago
drivers/platform/x86/hp/hp-wmi.c | 4 ++++
1 file changed, 4 insertions(+)
[PATCH] platform/x86: hp-wmi: Add OMEN board 8D40 thermal profile support
Posted by Suryansh Singh 1 month ago
The HP OMEN Slim 16t-an000 (board ID: 8D40) uses the existing
OMEN v1 WMI interface but does not use the standard EC thermal
profile parameters.

Furthermore, it is the closest sibling of board 8D41 and 8D42,
which are already included in the table with
omen_v1_no_ec_board_params.

Add the DMI board name to hp_wmi_feature_boards[] and map it to
omen_v1_no_ec_board_params.

This enables the existing board-specific handling for 8D40,
including platform profile and fan control support.

Link: https://github.com/CachyOS/kernel-patches/issues/157

(Tested-by tag not included due to invalid email address.)

Signed-off-by: Suryansh Singh <technosfan14@gmail.com>
---
 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 6ecc033e5af3..fba6d202672a 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -323,6 +323,10 @@ static const struct dmi_system_id hp_wmi_feature_boards[] __initconst = {
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8D26") },
 		.driver_data = (void *)&omen_v1_legacy_board_params,
 	},
+	{
+		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8D40") },
+		.driver_data = (void *)&omen_v1_no_ec_board_params,
+	},
 	{
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8D41") },
 		.driver_data = (void *)&omen_v1_no_ec_board_params,
-- 
2.55.0
Re: [PATCH] platform/x86: hp-wmi: Add OMEN board 8D40 thermal profile support
Posted by Ilpo Järvinen 1 week, 1 day ago
On Thu, 27 Aug 2026 20:52:26 +0530, Suryansh Singh wrote:

> The HP OMEN Slim 16t-an000 (board ID: 8D40) uses the existing
> OMEN v1 WMI interface but does not use the standard EC thermal
> profile parameters.
> 
> Furthermore, it is the closest sibling of board 8D41 and 8D42,
> which are already included in the table with
> omen_v1_no_ec_board_params.
> 
> [...]

Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/1] platform/x86: hp-wmi: Add OMEN board 8D40 thermal profile support
      commit: 162053ad8885a351140b2128e67fb5a53ab1c2d5

--
 i.