From: SungHwan Jung <onenowy@gmail.com>
To: Armin Wolf <W_Armin@gmx.de>, Hridesh MG <hridesh699@gmail.com>,
Kurt Borja <kuurtb@gmail.com>
Cc: "Lee, Chun-Yi" <jlee@suse.com>,
"Hans de Goede" <hdegoede@redhat.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Shuah Khan" <skhan@linuxfoundation.org>
Subject: Re: [PATCH] platform/x86: acer-wmi: improve platform profile handling
Date: Sat, 4 Jan 2025 17:55:17 +0900 [thread overview]
Message-ID: <6a9385e6-8c5a-4d08-8ff9-728ac40792d2@gmail.com> (raw)
In-Reply-To: <20e3ac66-b040-49a9-ab00-0adcfdaed2ff@gmx.de>
On 1/4/25 06:07, Armin Wolf wrote:
> That is some very important information right here. The platform-profile
> documentation states:
>
> "Specifically when selecting a high performance profile the actual
> achieved
> performance may be limited by various factors such as: the heat
> generated
> by other components, room temperature, free air flow at the bottom
> of a
> laptop, etc. It is explicitly NOT a goal of this API to let
> userspace know
> about any sub-optimal conditions which are impeding reaching the
> requested
> performance level."
>
> I think the AC handling is unnecessary in this case as the hardware
> seems to accept different profiles
> even when not running on AC. This would simplify the platform profile
> cycling inside the driver and
> allow us to use platform_profile_cycle().
>
> I wonder if this special behavior of the acer-wmi driver is documented
> somewhere. I am asking this since
> this has a great potential to confuse users.
The acer_thermal_profile_change function was made for predator phn16-71
and tested with some predator laptop series.
These predator series have the mode button that toggles between turbo or
non-turbo or cycles each modes. And the predator sense app restricts
these predator series to Eco and Balanced mode on battery.
So this function includes on_AC to reflect these behaviors.(mentioned on
comments)
platform_profile_cycle() is suitable for cycle mode by
cycle_gaming_thermal_profile parameter and if there is no reason to
restrict thermal profiles on battery, we don't need to handle on_AC. But
I'm not sure why the manufacturer restricts the thermal profiles on
battery on windows.
Thanks,
SungHwan Jung
>
> Thanks,
> Armin Wolf
prev parent reply other threads:[~2025-01-04 8:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 14:04 [PATCH] platform/x86: acer-wmi: improve platform profile handling Hridesh MG
2024-12-31 17:06 ` Kurt Borja
2025-01-01 5:20 ` Hridesh MG
2024-12-31 17:48 ` Kurt Borja
2025-01-01 20:58 ` Armin Wolf
2025-01-02 6:50 ` Hridesh MG
2025-01-03 19:01 ` Kurt Borja
2025-01-03 19:52 ` Hridesh MG
2025-01-03 21:07 ` Armin Wolf
2025-01-04 8:55 ` SungHwan Jung [this message]
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=6a9385e6-8c5a-4d08-8ff9-728ac40792d2@gmail.com \
--to=onenowy@gmail.com \
--cc=20e3ac66-b040-49a9-ab00-0adcfdaed2ff@gmx.de \
--cc=W_Armin@gmx.de \
--cc=hdegoede@redhat.com \
--cc=hridesh699@gmail.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jlee@suse.com \
--cc=kuurtb@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=skhan@linuxfoundation.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