public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86: hp-wmi: Add support for Victus 16-r0xxx (8BC2)
@ 2026-04-25 11:07 Haichen Feng
  2026-04-30 12:45 ` Ilpo Järvinen
  0 siblings, 1 reply; 4+ messages in thread
From: Haichen Feng @ 2026-04-25 11:07 UTC (permalink / raw)
  To: ilpo.jarvinen; +Cc: hansg, platform-driver-x86, linux-kernel, Haichen Feng

The HP Victus 16-r0xxx (board ID: 8BC2) has the same WMI 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.

Testing on board 8BC2 confirmed that platform profile is registered
successfully and fan RPMs are readable and controllable.

Signed-off-by: Haichen Feng <2806891994@qq.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 d1cc6e7d1..075d39417 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -213,6 +213,10 @@ static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BCD") },
 		.driver_data = (void *)&omen_v1_thermal_params,
 	},
+	{
+		.matches = {DMI_MATCH(DMI_BOARD_NAME, "8BC2")},
+		.driver_data = (void *)&omen_v1_thermal_params,
+	},
 	{
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BD4") },
 		.driver_data = (void *)&victus_s_thermal_params,
-- 
2.54.0


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

* Re: [PATCH] platform/x86: hp-wmi: Add support for Victus 16-r0xxx (8BC2)
  2026-04-25 11:07 [PATCH] platform/x86: hp-wmi: Add support for Victus 16-r0xxx (8BC2) Haichen Feng
@ 2026-04-30 12:45 ` Ilpo Järvinen
  2026-04-30 14:07   ` [PATCH v2] " Haichen Feng
  2026-04-30 16:37   ` [PATCH v3] " Haichen Feng
  0 siblings, 2 replies; 4+ messages in thread
From: Ilpo Järvinen @ 2026-04-30 12:45 UTC (permalink / raw)
  To: Haichen Feng; +Cc: Hans de Goede, platform-driver-x86, LKML

On Sat, 25 Apr 2026, Haichen Feng wrote:

> The HP Victus 16-r0xxx (board ID: 8BC2) has the same WMI 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.
> 
> Testing on board 8BC2 confirmed that platform profile is registered
> successfully and fan RPMs are readable and controllable.
> 
> Signed-off-by: Haichen Feng <2806891994@qq.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 d1cc6e7d1..075d39417 100644
> --- a/drivers/platform/x86/hp/hp-wmi.c
> +++ b/drivers/platform/x86/hp/hp-wmi.c
> @@ -213,6 +213,10 @@ static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
>  		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BCD") },
>  		.driver_data = (void *)&omen_v1_thermal_params,
>  	},
> +	{
> +		.matches = {DMI_MATCH(DMI_BOARD_NAME, "8BC2")},

Please place it into the correct place (8BC2 < 8BC[AD]) in the array.

> +		.driver_data = (void *)&omen_v1_thermal_params,
> +	},
>  	{
>  		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BD4") },
>  		.driver_data = (void *)&victus_s_thermal_params,
> 

-- 
 i.


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

* [PATCH v2] platform/x86: hp-wmi: Add support for Victus 16-r0xxx (8BC2)
  2026-04-30 12:45 ` Ilpo Järvinen
@ 2026-04-30 14:07   ` Haichen Feng
  2026-04-30 16:37   ` [PATCH v3] " Haichen Feng
  1 sibling, 0 replies; 4+ messages in thread
From: Haichen Feng @ 2026-04-30 14:07 UTC (permalink / raw)
  To: ilpo.jarvinen; +Cc: 2806891994, hansg, linux-kernel, platform-driver-x86

The HP Victus 16-r0xxx (board ID: 8BC2) has the same WMI 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.

Testing on board 8BC2 confirmed that platform profile is registered
successfully and fan RPMs are readable and controllable.

Signed-off-by: Haichen Feng <2806891994@qq.com>
---
Change in v2:
 - Move 8BC2 matching code to correct place
---
 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 d1cc6e7d1..184eb920b 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -209,6 +209,10 @@ static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BCA") },
 		.driver_data = (void *)&omen_v1_thermal_params,
 	},
+	{
+		.matches = {DMI_MATCH(DMI_BOARD_NAME, "8BC2")},
+		.driver_data = (void *)&omen_v1_thermal_params,
+	},
 	{
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BCD") },
 		.driver_data = (void *)&omen_v1_thermal_params,
-- 
2.54.0


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

* Re: [PATCH v3] platform/x86: hp-wmi: Add support for Victus 16-r0xxx (8BC2)
  2026-04-30 12:45 ` Ilpo Järvinen
  2026-04-30 14:07   ` [PATCH v2] " Haichen Feng
@ 2026-04-30 16:37   ` Haichen Feng
  1 sibling, 0 replies; 4+ messages in thread
From: Haichen Feng @ 2026-04-30 16:37 UTC (permalink / raw)
  To: ilpo.jarvinen; +Cc: 2806891994, hansg, linux-kernel, platform-driver-x86

Sorry for write wrong patch. It is my mistake. This patch move 8BC2 to the front of 8BCA.

Signed-off-by: Haichen Feng <2806891994@qq.com>
---
Change in v3:
 - Move 8BC2 to the front of 8BCA
---
 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 d1cc6e7d1..a5cda787c 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -205,6 +205,10 @@ static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BBE") },
 		.driver_data = (void *)&victus_s_thermal_params,
 	},
+	{
+		.matches = {DMI_MATCH(DMI_BOARD_NAME, "8BC2")},
+		.driver_data = (void *)&omen_v1_thermal_params,
+	},
 	{
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BCA") },
 		.driver_data = (void *)&omen_v1_thermal_params,
-- 
2.54.0


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

end of thread, other threads:[~2026-04-30 16:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25 11:07 [PATCH] platform/x86: hp-wmi: Add support for Victus 16-r0xxx (8BC2) Haichen Feng
2026-04-30 12:45 ` Ilpo Järvinen
2026-04-30 14:07   ` [PATCH v2] " Haichen Feng
2026-04-30 16:37   ` [PATCH v3] " Haichen Feng

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