[PATCH 2/2] drm/amdgpu/pm: make mclk consistent for smu 13.0.7
Alex Deucher
alexdeucher at gmail.com
Thu Jul 13 14:33:22 UTC 2023
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