Skip to content

Commit 2f3b1cc

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amd/pm: Use cached metrics data on arcturus
Cached metrics data validity is 1ms on arcturus. 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 e87577e commit 2f3b1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c

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

18981898
ret = smu_cmn_get_metrics_table(smu,
18991899
&metrics,
1900-
true);
1900+
false);
19011901
if (ret)
19021902
return ret;
19031903

0 commit comments

Comments
 (0)