From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 217696] Looking for a way to enable power saving mode for Ryzen APUs, along with limiting the upper temperature and total power consumption
Date: Mon, 24 Jul 2023 18:54:34 +0000 [thread overview]
Message-ID: <bug-217696-215701-gpH7WLfNMj@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-217696-215701@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=217696
--- Comment #12 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
> I've no problems with frequency scaling. Also it looks like the OP uses
> amd-pstate and I use acpi-cpufreq since amd-pstate is not enabled by default.
> Under the specific AMD driver idle power consumption without RyzenAdj remains
> very equally high.
amd-pstate vs acpi-cpufreq is actually irrelevant for the issue at hand. From
your debug log I believe the issue is that for your machine a component outside
of the Linux kernel is supposed to influence power targets. It's either the EC
or something that runs in the APU's TEE environment.
More on this later in my response.
> Is the second patch queued for 6.5? I wouldn't want to compile the kernel
> just yet but I can check Fedora's 6.5-rc3.
No it's not in 6.5 right now. Hans is OOO, but I expect will be queued for a
future 6.5-rc when he returns.
> Could you explain the nature of the second patch? From its description I
> understood nothing at all.
In Linux the static power slider (SPS) is exported from amd-pmf as an ACPI
platform profile. Power-profiles daemon uses this to let you pick "Power
saver", "balanced" or "performance" modes.
Until that patch SPS is only exported if targets are adjustable directly via
PMF driver. But your system advertises that power slider changes should notify
the SBIOS because your system doesn't adjust targets via the PMF driver.
> Does it fix (improve) very high idle power consumption? Why is it needed? I
> don't think it'll help me break through the frequency wall my laptop's
> firmware is imposing on me.
I don't have visibility into your EC code, but if it's by EC the patch will fix
it when you pick "power saver" or "performance" in power profiles daemon.
If the EC doesn't do it, it will probably require some code that we'll be
releasing later for some other PMF features.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2023-07-24 18:54 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-217696-215701@https.bugzilla.kernel.org/>
2023-07-24 18:22 ` [Bug 217696] Looking for a way to enable power saving mode for Ryzen APUs, along with limiting the upper temperature and total power consumption bugzilla-daemon
2023-07-24 18:36 ` bugzilla-daemon
2023-07-24 18:39 ` bugzilla-daemon
2023-07-24 18:54 ` bugzilla-daemon [this message]
2023-07-24 19:51 ` bugzilla-daemon
2023-07-24 19:52 ` bugzilla-daemon
2023-07-26 9:36 ` bugzilla-daemon
2023-07-26 10:01 ` bugzilla-daemon
2023-07-26 10:03 ` bugzilla-daemon
2023-07-26 10:34 ` bugzilla-daemon
2023-07-26 12:53 ` bugzilla-daemon
2023-07-26 14:02 ` bugzilla-daemon
2023-07-26 14:15 ` bugzilla-daemon
2023-07-26 14:24 ` bugzilla-daemon
2023-07-26 14:35 ` bugzilla-daemon
2023-07-26 19:05 ` bugzilla-daemon
2023-07-26 19:12 ` bugzilla-daemon
2023-07-26 19:35 ` bugzilla-daemon
2023-07-26 19:55 ` bugzilla-daemon
2023-08-01 13:52 ` 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-217696-215701-gpH7WLfNMj@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.