The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] platform/x86: hp-wmi: Add OMEN board 8BA9 thermal profile support
@ 2026-07-23 17:44 Suryansh Singh
  2026-07-24 11:17 ` Ilpo Järvinen
  0 siblings, 1 reply; 3+ messages in thread
From: Suryansh Singh @ 2026-07-23 17:44 UTC (permalink / raw)
  To: hansg, ilpo.jarvinen; +Cc: platform-driver-x86, linux-kernel, Suryansh Singh

The HP OMEN 16-wd0xxx (board ID: 8BA9) has the same WMI interface
as other Victus S boards, but requires quirks for correctly
switching thermal profile.

Add the DMI board name to victus_s_thermal_profile_boards[] table
and map it to omen_v1_thermal_params.

Without this entry, platform profile switching is unavailable,
preventing fan RPM reporting and controlling.

Tested on:
  HP OMEN 16-wd0012TX
  DMI Board Name: 8BA9

It has been confirmed that the platform profile is registered
successfully, and the fan RPMs are readable and controllable.

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 8ba286ed8..052c64aa0 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -201,6 +201,10 @@ static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8A4D") },
 		.driver_data = (void *)&omen_v1_legacy_thermal_params,
 	},
+	{
+		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BA9") },
+		.driver_data = (void *)&omen_v1_thermal_params,
+	},
 	{
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BAB") },
 		.driver_data = (void *)&omen_v1_thermal_params,
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] platform/x86: hp-wmi: Add OMEN board 8BA9 thermal profile support
  2026-07-23 17:44 [PATCH] platform/x86: hp-wmi: Add OMEN board 8BA9 thermal profile support Suryansh Singh
@ 2026-07-24 11:17 ` Ilpo Järvinen
  2026-07-24 12:02   ` [PATCH v2] " Suryansh Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Ilpo Järvinen @ 2026-07-24 11:17 UTC (permalink / raw)
  To: Suryansh Singh; +Cc: Hans de Goede, platform-driver-x86, LKML

On Thu, 23 Jul 2026, Suryansh Singh wrote:

> The HP OMEN 16-wd0xxx (board ID: 8BA9) has the same WMI interface
> as other Victus S boards, but requires quirks for correctly
> switching thermal profile.
> 
> Add the DMI board name to victus_s_thermal_profile_boards[] table
> and map it to omen_v1_thermal_params.
> 
> Without this entry, platform profile switching is unavailable,
> preventing fan RPM reporting and controlling.
> 
> Tested on:
>   HP OMEN 16-wd0012TX
>   DMI Board Name: 8BA9
> 
> It has been confirmed that the platform profile is registered
> successfully, and the fan RPMs are readable and controllable.
> 
> 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 8ba286ed8..052c64aa0 100644
> --- a/drivers/platform/x86/hp/hp-wmi.c
> +++ b/drivers/platform/x86/hp/hp-wmi.c
> @@ -201,6 +201,10 @@ static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
>  		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8A4D") },
>  		.driver_data = (void *)&omen_v1_legacy_thermal_params,
>  	},
> +	{
> +		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BA9") },
> +		.driver_data = (void *)&omen_v1_thermal_params,
> +	},

Hi,

This patch is based on too old code. In plaform drivers tree, hp-wmi's 
driver_data scope has been expanded to cover things beyond thermal params.

-- 
 i.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] platform/x86: hp-wmi: Add OMEN board 8BA9 thermal profile support
  2026-07-24 11:17 ` Ilpo Järvinen
@ 2026-07-24 12:02   ` Suryansh Singh
  0 siblings, 0 replies; 3+ messages in thread
From: Suryansh Singh @ 2026-07-24 12:02 UTC (permalink / raw)
  To: ilpo.jarvinen; +Cc: hansg, platform-driver-x86, linux-kernel, Suryansh Singh

The HP OMEN 16-wd0xxx (board ID: 8BA9) has the same WMI interface
as other Victus S boards, but requires quirks for correctly
switching thermal profile.

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

Without this entry, platform profile switching is unavailable,
preventing fan RPM reporting and controlling.

Tested on:
  HP OMEN 16-wd0012TX
  DMI Board Name: 8BA9

It has been confirmed that the platform profile is registered
successfully, and the fan RPMs are readable and controllable.

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 5353d997d..c4f67d9b4 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -246,6 +246,10 @@ static const struct dmi_system_id hp_wmi_feature_boards[] __initconst = {
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8A4D") },
 		.driver_data = (void *)&omen_v1_legacy_board_params,
 	},
+	{
+		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BA9") },
+		.driver_data = (void *)&omen_v1_board_params,
+	},
 	{
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BAB") },
 		.driver_data = (void *)&omen_v1_board_params,
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-24 12:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23 17:44 [PATCH] platform/x86: hp-wmi: Add OMEN board 8BA9 thermal profile support Suryansh Singh
2026-07-24 11:17 ` Ilpo Järvinen
2026-07-24 12:02   ` [PATCH v2] " Suryansh Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox