Commit 137aac26 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/smu12: fix power reporting on renoir

Align with Vangogh.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1467Acked-by: default avatarNirmoy Das <nirmoy.das@amd.com>
Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 11964258
...@@ -1129,7 +1129,7 @@ static int renoir_get_smu_metrics_data(struct smu_context *smu, ...@@ -1129,7 +1129,7 @@ static int renoir_get_smu_metrics_data(struct smu_context *smu,
*value = metrics->AverageUvdActivity / 100; *value = metrics->AverageUvdActivity / 100;
break; break;
case METRICS_AVERAGE_SOCKETPOWER: case METRICS_AVERAGE_SOCKETPOWER:
*value = metrics->CurrentSocketPower << 8; *value = (metrics->CurrentSocketPower << 8) / 1000;
break; break;
case METRICS_TEMPERATURE_EDGE: case METRICS_TEMPERATURE_EDGE:
*value = (metrics->GfxTemperature / 100) * *value = (metrics->GfxTemperature / 100) *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment