Skip to content

Commit e87577e

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amd/pm: Use cached metrics data on aldebaran
Cached metrics data validity is 1ms on aldebaran. It's not reasonable for any client to query gpu_metrics at a faster rate and constantly interrupt PMFW. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 582bf7c commit e87577e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ static ssize_t aldebaran_get_gpu_metrics(struct smu_context *smu,
17811781

17821782
ret = smu_cmn_get_metrics_table(smu,
17831783
&metrics,
1784-
true);
1784+
false);
17851785
if (ret)
17861786
return ret;
17871787

0 commit comments

Comments
 (0)