From: Maximilian Luz <luzmaximilian@gmail.com>
To: "Ivor Wanders" <ivor@iwanders.net>,
"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
Subject: Re: [PATCH 0/1] platform/surface: platform_profile: add fan profile switching
Date: Sat, 9 Mar 2024 01:58:47 +0100 [thread overview]
Message-ID: <c4982eed-f3f0-4adc-aba0-1aa2b1631762@gmail.com> (raw)
In-Reply-To: <20240302170147.13026-1-ivor@iwanders.net>
On 3/2/24 18:01, Ivor Wanders wrote:
> This patch adds functionality that switches the fan profile when the
> platform profile is switched on the Microsoft Surface Pro 9.
>
> Previously, the fan profile was not changed and that results in poor
> thermal performance. This makes the behaviour and functionality identical
> to what the Windows drivers do.
>
> A plot of the different responses to system load, as well as recordings
> from the SSAM bus can be found at [1]. Based on discussions with
> Maximilian Luz there this patch proposes the following changes:
>
> In surface_aggregator_registry:
> - Rename ssam_node_tmp_pprof to ssam_node_tmp_perf_profile for clarity.
> - Introduce ssam_node_tmp_perf_profile_with_fan that has the has_fan
> boolean property set.
> - Use the new ssam_node_tmp_perf_profile_with_fan for the Surface Pro 9.
>
> In the platform profile module:
> - Rename ssam_tmp_profile_device to ssam_platform_profile_device to make it
> clear it handles more than just the TMP subsystem.
> - Rename the enum conversion method to make distinction between TMP and FAN
> clear.
> - Add enum and set function & request for the fan profile.
> - Ensure that if the module's has_fan boolean is true, the fan profile is
> switched whenever the platform profile changes.
>
>
> [1]: https://github.com/linux-surface/kernel/pull/145
>
> Ivor Wanders (1):
> platform/surface: platform_profile: add fan profile switching
>
> .../surface/surface_aggregator_registry.c | 36 +++++---
> .../surface/surface_platform_profile.c | 86 ++++++++++++++++---
> 2 files changed, 99 insertions(+), 23 deletions(-)
>
Looks good to me.
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
prev parent reply other threads:[~2024-03-09 0:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-02 17:01 Ivor Wanders
2024-03-02 17:01 ` [PATCH 1/1] " Ivor Wanders
2024-03-11 11:46 ` Ilpo Järvinen
2024-03-11 22:32 ` Ivor Wanders
2024-03-09 0:58 ` Maximilian Luz [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=c4982eed-f3f0-4adc-aba0-1aa2b1631762@gmail.com \
--to=luzmaximilian@gmail.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=ivor@iwanders.net \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®