[PATCH 2/2] drm/amdgpu/pm: make mclk consistent for smu 13.0.7
Feng, Kenneth
Kenneth.Feng at amd.com
Thu Jul 13 14:44:51 UTC 2023
[AMD Official Use Only - General]
Reviewed-by: Kenneth Feng <kenneth.feng at amd.com>
-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex Deucher
Sent: Thursday, July 13, 2023 10:33 PM
To: Deucher, Alexander <Alexander.Deucher at amd.com>
Cc: amd-gfx at lists.freedesktop.org
Subject: Re: [PATCH 2/2] drm/amdgpu/pm: make mclk consistent for smu 13.0.7
Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
Ping on this series?
Alex
On Tue, Jun 13, 2023 at 12:42 PM Alex Deucher <alexander.deucher at amd.com> wrote:
>
> Use current uclk to be consistent with other dGPUs.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
> index cda4e818aab7..8eb8c30e6c69 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
> @@ -949,7 +949,7 @@ static int smu_v13_0_7_read_sensor(struct smu_context *smu,
> break;
> case AMDGPU_PP_SENSOR_GFX_MCLK:
> ret = smu_v13_0_7_get_smu_metrics_data(smu,
> - METRICS_AVERAGE_UCLK,
> + METRICS_CURR_UCLK,
> (uint32_t *)data);
> *(uint32_t *)data *= 100;
> *size = 4;
> --
> 2.40.1
>
More information about the amd-gfx
mailing list