public inbox for platform-driver-x86@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior
Date: Sat, 28 Feb 2026 14:07:31 +0000	[thread overview]
Message-ID: <bug-221150-215701-e08cUxg4E5@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-221150-215701@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #5 from wudd_maya (qwqgong@gmail.com) ---
(In reply to Krishna Chomal from comment #4)
> 你好,
> 
> 你的主板8A4D目前没有出现在hp-wmi驱动的任何白名单中。因此,它默认使用传统的Omen WMI接口来注册平台配置文件。
> 
> 从你在 Omen Gaming Hub 的日志和 EC 转储来看,很明显你的主板需要更新的 Victus S 风格的 WMI
> 查询来切换平台配置文件(以及与粉丝相关的活动),而不是传统查询。
> 
> 请您应用以下补丁并测试以下内容:
> 1. 查看dmesg是否成功注册信息:
>    “hp_wmi:注册为平台配置文件管理员”
> 
> 2. 确认风扇转速可通过sysfs(/sys/devices/platform/hp-wmi/hwmon/*)读取和控制。
> 
> 3. 在更改平台配置文件时验证这一点,它确实会物理上改变CPU/GPU的耗电量。
> 
> diff --git a/drivers/platform/x86/hp/hp-wmi.c
> b/drivers/platform/x86/hp/hp-wmi.c
> 索引304D9AC63C8A..756b94ac4a35 100644
> --- a/drivers/platform/x86/hp/hp-wmi.c
> +++ b/drivers/platform/x86/hp/hp-wmi.c
> @@ -120,6 +120,13 @@ static const struct thermal_profile_params
> omen_v1_thermal_params = {
>       .ec_tp_offset = HP_VICTUS_S_EC_THERMAL_PROFILE_OFFSET,
>  };
>  
> +static const struct thermal_profile_params omen_hybrid_thermal_params = {
> + .性能 = HP_OMEN_V1_THERMAL_PROFILE_PERFORMANCE,
> + .平衡 = HP_OMEN_V1_THERMAL_PROFILE_DEFAULT,
> + .low_power = HP_OMEN_V1_THERMAL_PROFILE_DEFAULT,
> + .ec_tp_offset = HP_OMEN_EC_THERMAL_PROFILE_OFFSET,
> +};
> +
>  /*
>   * 当前活跃电路板散热曲线的通用指针
>   * 参数。
> @@ -173,6 +180,10 @@ 静态 const char * const victus_thermal_profile_boards[] =
> {
>  
> /* Victus 16-r 和 Victus 16-s 笔记本的 DMI 板名称 */
>  静态 const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
> = {
> +     {
> + .匹配 = { DMI_MATCH(DMI_BOARD_NAME,“8A4D”)},
> + .driver_data = (空 *)&omen_hybrid_thermal_params,
> +     },
>       {
>               .matches = { DMI_MATCH(DMI_BOARD_NAME, “8BBE”) },
>               .driver_data = (空 *)&victus_s_thermal_params,

Hello Krishna,

I successfully applied the patch to the mainline RC kernel and thoroughly
tested it on my board (8A4D). The results are fantastic:
❯ echo 255 | sudo tee /sys/class/hwmon/hwmon6/pwm1
255

~
❯ sudo dmesg | grep hp_wmi
[    4.677350] hp_wmi: Registered as platform profile handler
[    6.492857]  processor_thermal_device_pci kvm processor_thermal_device
snd_hwdep snd_soc_core processor_thermal_wt_hint snd_hda_core r8169
platform_temperature_control snd_intel_dspcfg processor_thermal_soc_slider
snd_compress snd_intel_sdw_acpi realtek uvcvideo btusb processor_thermal_rfim
irqbypass mdio_devres intel_rapl_msr processor_thermal_rapl ghash_clmulni_intel
btrtl snd_pcm videobuf2_vmalloc intel_rapl_common iwlwifi aesni_intel libphy
processor_thermal_wt_req videobuf2_memops btintel rapl spi_nor hp_wmi
hid_multitouch snd_timer mei_me intel_cstate btbcm
processor_thermal_power_floor uvc intel_pmc_core sparse_keymap i2c_i801
intel_uncore wmi_bmof platform_profile mtd pcspkr intel_ish_ipc cfg80211
videobuf2_v4l2 mdio_bus processor_thermal_mbox i2c_smbus btmtk mei snd
pmt_telemetry i2c_hid_acpi intel_ishtp int340x_thermal_zone thunderbolt
igen6_edac soundcore videodev i2c_hid bluetooth pmt_discovery videobuf2_common
pmt_class pinctrl_tigerlake soc_button_array joydev acpi_pad mc intel_oc_wdt

~
❯ cat /sys/devices/platform/hp-wmi/hwmon/hwmon*/fan*_input
5800
5800

~
 Sysfs nodes are populated correctly (performance, balanced, low-power).
Switching to the "performance" profile works flawlessly and successfully
unlocks the hardware power limits—I can confirm the CPU reaches 115W under full
load!

The patch brings full and essential support for the Omen 8A4D board. Thank you
so much for your hard work!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2026-02-28 14:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27 11:09 [Bug 221150] New: [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior bugzilla-daemon
2026-02-27 11:22 ` [Bug 221150] " bugzilla-daemon
2026-02-27 11:23 ` bugzilla-daemon
2026-02-27 11:34 ` bugzilla-daemon
2026-02-27 17:06 ` bugzilla-daemon
2026-02-28 14:07 ` bugzilla-daemon [this message]
2026-03-01  5:37 ` bugzilla-daemon
2026-03-01  7:09 ` bugzilla-daemon
2026-03-02  7:36 ` bugzilla-daemon
2026-03-30 15:25 ` bugzilla-daemon
2026-03-31  7:31 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-221150-215701-e08cUxg4E5@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox