Skip to contentSkip to conversation

support for thermal profile Omen 16 laptops with board 8902

PATCH In review Коненко Андрей Викторович 2 participants 2 messages Mar 3 – Mar 17 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support for thermal profile Omen 16 laptops with board 8902

The HP Omen 16 with bioard ID 8902 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.

Testing on HP Omen 16-c0004ur confirmed that platform profile is registered successfully and fan RPMs are readable and controllable.

---
drivers/platform/x86/hp/hp-wmi.c | 4 ++++

1 file changed, 4 insertions(+) 
drivers/platform/x86/hp/hp- renamed from drivers/platform/x86/hp/hp-wmi.c +0 -0

wmi.c
index 304d9ac63c8a..f60a48b97c36 100644

drivers/platform/x86/hp/hp-wmi.c +0 -0
@@ -189,6 +189,10 @@ static const struct dmi_system_id 

victus_s_thermal_profile_boards[] __initconst

               .matches = { DMI_MATCH(DMI_BOARD_NAME, "8C78") }, 
               .driver_data = (void *)&omen_v1_thermal_params, 
       }, 

+ {
+ .matches = { DMI_MATCH(DMI_BOARD_NAME, "8902") },
+ .driver_data = (void *)&omen_v1_thermal_params,
+ },

       { 
               .matches = { DMI_MATCH(DMI_BOARD_NAME, "8C99") }, 
               .driver_data = (void *)&victus_s_thermal_params, 
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 5 lines · Коненко Андрей Викторович

The HP Omen 16 with bioard ID 8902 has the same WMI interface as other Victus S boards, but requires quirks for correctly switching thermal profile.

Quoted 7 lines

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

Testing on HP Omen 16-c0004ur confirmed that platform profile is registered successfully and fan RPMs are readable and controllable.

Hi,

As is, I cannot take this patch. Please go through the information in Documentation/process/submitting-patches.rst and resubmit. Especially pay attention on formatting the changelog and DCoO.

You can also check existing, similar commits to this same file for examples.

Signature · 1 line
 i.
Quoted 28 lines

---
drivers/platform/x86/hp/hp-wmi.c | 4 ++++

1 file changed, 4 insertions(+) 
drivers/platform/x86/hp/hp- renamed from drivers/platform/x86/hp/hp-wmi.c +0 -0

wmi.c
index 304d9ac63c8a..f60a48b97c36 100644

drivers/platform/x86/hp/hp-wmi.c +0 -0
@@ -189,6 +189,10 @@ static const struct dmi_system_id 

victus_s_thermal_profile_boards[] __initconst

               .matches = { DMI_MATCH(DMI_BOARD_NAME, "8C78") }, 
               .driver_data = (void *)&omen_v1_thermal_params, 
       }, 
drivers/platform/x86/hp/hp-wmi.c +4 -0
+       { 
+               .matches = { DMI_MATCH(DMI_BOARD_NAME, "8902") }, 
+               .driver_data = (void *)&omen_v1_thermal_params, 
+       }, 
       { 
               .matches = { DMI_MATCH(DMI_BOARD_NAME, "8C99") }, 
               .driver_data = (void *)&victus_s_thermal_params, 
Signature · 1 line
2.53.0