[AMD Official Use Only - General] Reviewed-by: Kenneth Feng <kenneth.feng@xxxxxxx> -----Original Message----- From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Alex Deucher Sent: Thursday, July 13, 2023 10:33 PM To: Deucher, Alexander <Alexander.Deucher@xxxxxxx> Cc: amd-gfx@xxxxxxxxxxxxxxxxxxxxx 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@xxxxxxx> wrote: > > Use current uclk to be consistent with other dGPUs. > > Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> > --- > 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 >