]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hp-wmi: fix support for thermal profile Omen 16-с0xxx laptops
authorКоненко Андрей Викторович <admin@aquinas.su>
Tue, 19 May 2026 13:37:42 +0000 (16:37 +0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 19 May 2026 13:46:54 +0000 (16:46 +0300)
The HP Omen 16-c0xxx (board ID: 8902) has the same WMI interface as
other Victus S boards, but requires additional quirks for correctly
switching thermal profile.

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

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

Signed-off-by: Konenko Andrey Viktorovich <admin@aquinas.su>
Link: https://patch.msgid.link/T3DTKbKwQzOgk_0eUG-kMg@aquinas.su
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/hp/hp-wmi.c

index 6950bec2a9d80d0ed579fa167d4da8112a4f2be9..f63bc00d9a9b3ee347e4dfc4846219745c0e8b38 100644 (file)
@@ -189,6 +189,10 @@ static const char * const victus_thermal_profile_boards[] = {
 
 /* DMI Board names of Victus 16-r and Victus 16-s laptops */
 static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst = {
+       {
+               .matches = { DMI_MATCH(DMI_BOARD_NAME, "8902") },
+               .driver_data = (void *)&omen_v1_legacy_thermal_params,
+       },
        {
                .matches = { DMI_MATCH(DMI_BOARD_NAME, "8A44") },
                .driver_data = (void *)&omen_v1_legacy_thermal_params,