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

Mingcong Bai posted 1 patch 12 months ago
There is a newer version of this series
drivers/platform/x86/hp/hp-wmi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] platform/x86: hp-wmi: mark 8A15 board for timed OMEN thermal profile
Posted by Mingcong Bai 12 months ago
From: xiaoxi404 <1577912515@qq.com>

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: xiaoxi404 <1577912515@qq.com>
Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
---
 drivers/platform/x86/hp/hp-wmi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c
index 81ccc96ffe40..20c55bab3b8c 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -64,7 +64,7 @@ static const char * const omen_thermal_profile_boards[] = {
 	"874A", "8603", "8604", "8748", "886B", "886C", "878A", "878B", "878C",
 	"88C8", "88CB", "8786", "8787", "8788", "88D1", "88D2", "88F4", "88FD",
 	"88F5", "88F6", "88F7", "88FE", "88FF", "8900", "8901", "8902", "8912",
-	"8917", "8918", "8949", "894A", "89EB", "8BAD", "8A42"
+	"8917", "8918", "8949", "894A", "89EB", "8BAD", "8A42", "8A15"
 };
 
 /* DMI Board names of Omen laptops that are specifically set to be thermal
@@ -80,7 +80,7 @@ static const char * const omen_thermal_profile_force_v0_boards[] = {
  * "balanced" when reaching zero.
  */
 static const char * const omen_timed_thermal_profile_boards[] = {
-	"8BAD", "8A42"
+	"8BAD", "8A42", "8A15"
 };
 
 /* DMI Board names of Victus laptops */
-- 
2.47.1
Re: [PATCH] platform/x86: hp-wmi: mark 8A15 board for timed OMEN thermal profile
Posted by Ilpo Järvinen 12 months ago
On Mon, 23 Dec 2024, Mingcong Bai wrote:

> From: xiaoxi404 <1577912515@qq.com>
> 
> 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: xiaoxi404 <1577912515@qq.com>
> Signed-off-by: Mingcong Bai <jeffbai@aosc.io>

Hi,

I wanted to apply this but the first signed-off-by line threw me off. It 
should contain person's name before the email address line like yours does 
(assuming the first signed-off-by is necessary in the first place, the 
patch itself looks quite trivial given it's just about adding one ID).

-- 
 i.

> ---
>  drivers/platform/x86/hp/hp-wmi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c
> index 81ccc96ffe40..20c55bab3b8c 100644
> --- a/drivers/platform/x86/hp/hp-wmi.c
> +++ b/drivers/platform/x86/hp/hp-wmi.c
> @@ -64,7 +64,7 @@ static const char * const omen_thermal_profile_boards[] = {
>  	"874A", "8603", "8604", "8748", "886B", "886C", "878A", "878B", "878C",
>  	"88C8", "88CB", "8786", "8787", "8788", "88D1", "88D2", "88F4", "88FD",
>  	"88F5", "88F6", "88F7", "88FE", "88FF", "8900", "8901", "8902", "8912",
> -	"8917", "8918", "8949", "894A", "89EB", "8BAD", "8A42"
> +	"8917", "8918", "8949", "894A", "89EB", "8BAD", "8A42", "8A15"
>  };
>  
>  /* DMI Board names of Omen laptops that are specifically set to be thermal
> @@ -80,7 +80,7 @@ static const char * const omen_thermal_profile_force_v0_boards[] = {
>   * "balanced" when reaching zero.
>   */
>  static const char * const omen_timed_thermal_profile_boards[] = {
> -	"8BAD", "8A42"
> +	"8BAD", "8A42", "8A15"
>  };
>  
>  /* DMI Board names of Victus laptops */
>
Re: [PATCH] platform/x86: hp-wmi: mark 8A15 board for timed OMEN thermal profile
Posted by Mingcong Bai 11 months, 4 weeks ago
Hi Ilpo,

Sorry for the late reply but your email fell through the cracks.

在 2024/12/24 03:15, Ilpo Järvinen 写道:
> On Mon, 23 Dec 2024, Mingcong Bai wrote:
> 
>> From: xiaoxi404 <1577912515@qq.com>
>>
>> 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: xiaoxi404 <1577912515@qq.com>
>> Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
> 
> Hi,
> 
> I wanted to apply this but the first signed-off-by line threw me off. It
> should contain person's name before the email address line like yours does
> (assuming the first signed-off-by is necessary in the first place, the
> patch itself looks quite trivial given it's just about adding one ID).
> 

Understood, but that is how this person represents themselves online. If 
that is indeed a problem, I can consult them for how this should be handled.

Best Regards,
Mingcong Bai
Re: [PATCH] platform/x86: hp-wmi: mark 8A15 board for timed OMEN thermal profile
Posted by Mingcong Bai 11 months, 4 weeks ago
Hi all,

<snip>

>> Hi,
>>
>> I wanted to apply this but the first signed-off-by line threw me off. It
>> should contain person's name before the email address line like yours 
>> does
>> (assuming the first signed-off-by is necessary in the first place, the
>> patch itself looks quite trivial given it's just about adding one ID).
>>
> 
> Understood, but that is how this person represents themselves online. If 
> that is indeed a problem, I can consult them for how this should be 
> handled.
> 

I was able to get consent to use their real name in the patch. I will 
send out v2 shortly.

Best Regards,
Mingcong Bai

> Best Regards,
> Mingcong Bai