Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: hp-wmi: mark 8A15 board for timed OMEN thermal profile

The HP OMEN 8 (2022), corresponding to a board ID of 8A15, supports OMEN
thermal profile and requires the timed profile quirk.

Upon adding this ID to both the omen_thermal_profile_boards and
omen_timed_thermal_profile_boards, significant bump in performance can be
observed. For instance, SilverBench (https://silver.urih.com/) results
improved from ~56,000 to ~69,000, as a result of higher power draws (and
thus core frequencies) whilst under load:

Package Power:

- Before the patch: ~65W (dropping to about 55W under sustained load).
- After the patch: ~115W (dropping to about 105W under sustained load).

Core Power:

- Before: ~60W (ditto above).
- After: ~108W (ditto above).

Add 8A15 to omen_thermal_profile_boards and
omen_timed_thermal_profile_boards to improve performance.

Signed-off-by: Xi Xiao <1577912515@qq.com>
Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
Link: https://lore.kernel.org/r/20241226062207.3352629-1-jeffbai@aosc.io
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

authored by

Mingcong Bai and committed by
Ilpo Järvinen
032fe9b0 185e1b1d

+2 -2
+2 -2
drivers/platform/x86/hp/hp-wmi.c
··· 64 64 "874A", "8603", "8604", "8748", "886B", "886C", "878A", "878B", "878C", 65 65 "88C8", "88CB", "8786", "8787", "8788", "88D1", "88D2", "88F4", "88FD", 66 66 "88F5", "88F6", "88F7", "88FE", "88FF", "8900", "8901", "8902", "8912", 67 - "8917", "8918", "8949", "894A", "89EB", "8BAD", "8A42" 67 + "8917", "8918", "8949", "894A", "89EB", "8BAD", "8A42", "8A15" 68 68 }; 69 69 70 70 /* DMI Board names of Omen laptops that are specifically set to be thermal ··· 80 80 * "balanced" when reaching zero. 81 81 */ 82 82 static const char * const omen_timed_thermal_profile_boards[] = { 83 - "8BAD", "8A42" 83 + "8BAD", "8A42", "8A15" 84 84 }; 85 85 86 86 /* DMI Board names of Victus laptops */