Linux Power Management development
 help / color / mirror / Atom feed
From: Huang Rui <ray.huang@amd.com>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>, Meng Li <li.meng@amd.com>,
	Perry Yuan <perry.yuan@amd.com>
Cc: "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>
Subject: Re: Unable to disable AMD cpu boost using amd-pstate driver?
Date: Mon, 18 Sep 2023 15:30:43 +0800	[thread overview]
Message-ID: <ZQf8o8bZOzF+bCn/@amd.com> (raw)
In-Reply-To: <5b410ac7-ea26-4f26-96a0-84451943c83a@gmx.com>

On Sun, Sep 17, 2023 at 05:52:06PM +0800, Qu Wenruo wrote:
> Hi Rui,
> 
> Thanks for your hard work maintaining amd-pstate driver first.
> 
> However it looks like if amd-pstate is used, there is no way to properly
> disable the CPU boost (this becomes obvious especially in Linux 6.5, as
> amd-pstate is enabled for my 7940HS CPU by default).
> 
> Previously using acpi-cppc, there is always a file named "boost" in
> /sys/devices/system/cpu/cpufreq, and echo 0 into that file makes my CPU
> temp never cross 75 during gaming sessions.
> 
> 
> But in Linux 6.5, with amd-pstate, I have to go amd_state=passive to get
> that file back, and echoing 0 into that file makes no difference.
> I still easily got 90C during the same game.

Have you tried amd_state=active and set balance_power? We can support EPP
and the EPP_INDEX_BALANCE_POWERSAVE maybe fit for your case.

Thanks,
Ray

> 
> For now I have to completely disable amd-pstate and rollback to acpi
> driver to get a sane temperature.
> 
> Is there any proper way to disable the boost using amd-pstate?
> 
> Thanks,
> Qu

  reply	other threads:[~2023-09-18  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-17  9:52 Unable to disable AMD cpu boost using amd-pstate driver? Qu Wenruo
2023-09-18  7:30 ` Huang Rui [this message]
2023-09-18  7:42   ` Qu Wenruo

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=ZQf8o8bZOzF+bCn/@amd.com \
    --to=ray.huang@amd.com \
    --cc=li.meng@amd.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=perry.yuan@amd.com \
    --cc=quwenruo.btrfs@gmx.com \
    /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