Skip to content

Commit 819bf66

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amd/pm: Mark MM activity as unsupported
Aldebaran doesn't support querying MM activity percentage. Keep the field as 0xFFs to mark it as unsupported. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
1 parent 5cda56b commit 819bf66

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1732,7 +1732,6 @@ static ssize_t aldebaran_get_gpu_metrics(struct smu_context *smu,
17321732

17331733
gpu_metrics->average_gfx_activity = metrics.AverageGfxActivity;
17341734
gpu_metrics->average_umc_activity = metrics.AverageUclkActivity;
1735-
gpu_metrics->average_mm_activity = 0;
17361735

17371736
/* Valid power data is available only from primary die */
17381737
if (aldebaran_is_primary(smu)) {

0 commit comments

Comments
 (0)