From: Alex Deucher <alexdeucher@gmail.com>
To: decce6 <decce6@proton.me>
Cc: amd-gfx@lists.freedesktop.org,
Kenneth Feng <kenneth.feng@amd.com>,
Alex Deucher <alexander.deucher@amd.com>,
Christian König <christian.koenig@amd.com>,
David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>,
Timur Kristóf <timur.kristof@gmail.com>,
Lijo Lazar <lijo.lazar@amd.com>,
Alexandre Demers <alexandre.f.demers@gmail.com>,
"chr[]" <chris@rudorff.com>, Sunil Khatri <sunil.khatri@amd.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/amdgpu: Add HAINAN clock adjustment
Date: Wed, 11 Feb 2026 09:17:57 -0500 [thread overview]
Message-ID: <CADnq5_MRvfNk83C6fd_gFTN8Sv8hgi56vJgEENajxpmQo3xd9Q@mail.gmail.com> (raw)
In-Reply-To: <20260210072309.14911-1-decce6@proton.me>
Applied both patches. Thanks!
Alex
On Tue, Feb 10, 2026 at 3:20 AM decce6 <decce6@proton.me> wrote:
>
> This patch limits the clock speeds of the AMD Radeon R5 M420 GPU from
> 850/1000MHz (core/memory) to 800/950 MHz, making it work stably. This
> patch is for amdgpu.
>
> Signed-off-by: decce6 <decce6@proton.me>
> ---
> drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c b/drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
> index 1f539cc65f41..b5d895537477 100644
> --- a/drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
> +++ b/drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
> @@ -3468,6 +3468,11 @@ static void si_apply_state_adjust_rules(struct amdgpu_device *adev,
> max_sclk = 60000;
> max_mclk = 80000;
> }
> + if ((adev->pdev->device == 0x666f) &&
> + (adev->pdev->revision == 0x00)) {
> + max_sclk = 80000;
> + max_mclk = 95000;
> + }
> } else if (adev->asic_type == CHIP_OLAND) {
> if ((adev->pdev->revision == 0xC7) ||
> (adev->pdev->revision == 0x80) ||
> --
> 2.43.0
>
>
prev parent reply other threads:[~2026-02-11 14:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-10 7:24 [PATCH] drm/amdgpu: Add HAINAN clock adjustment decce6
2026-02-11 6:34 ` Claude review: " Claude Code Review Bot
2026-02-11 6:34 ` Claude Code Review Bot
2026-02-11 14:17 ` Alex Deucher [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=CADnq5_MRvfNk83C6fd_gFTN8Sv8hgi56vJgEENajxpmQo3xd9Q@mail.gmail.com \
--to=alexdeucher@gmail.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=alexandre.f.demers@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=chris@rudorff.com \
--cc=christian.koenig@amd.com \
--cc=decce6@proton.me \
--cc=dri-devel@lists.freedesktop.org \
--cc=kenneth.feng@amd.com \
--cc=lijo.lazar@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=simona@ffwll.ch \
--cc=sunil.khatri@amd.com \
--cc=timur.kristof@gmail.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