@@ -109,7 +109,6 @@ enum smu_v13_0_6_caps {
109
109
SMU_CAP (OTHER_END_METRICS ),
110
110
SMU_CAP (SET_UCLK_MAX ),
111
111
SMU_CAP (PCIE_METRICS ),
112
- SMU_CAP (HST_LIMIT_METRICS ),
113
112
SMU_CAP (MCA_DEBUG_MODE ),
114
113
SMU_CAP (PER_INST_METRICS ),
115
114
SMU_CAP (CTF_LIMIT ),
@@ -325,8 +324,6 @@ static void smu_v13_0_14_init_caps(struct smu_context *smu)
325
324
326
325
if (fw_ver >= 0x05550E00 )
327
326
smu_v13_0_6_cap_set (smu , SMU_CAP (OTHER_END_METRICS ));
328
- if (fw_ver >= 0x05551000 )
329
- smu_v13_0_6_cap_set (smu , SMU_CAP (HST_LIMIT_METRICS ));
330
327
if (fw_ver >= 0x05550B00 )
331
328
smu_v13_0_6_cap_set (smu , SMU_CAP (PER_INST_METRICS ));
332
329
if (fw_ver >= 0x5551200 )
@@ -342,7 +339,6 @@ static void smu_v13_0_12_init_caps(struct smu_context *smu)
342
339
SMU_CAP (RMA_MSG ),
343
340
SMU_CAP (ACA_SYND ),
344
341
SMU_CAP (OTHER_END_METRICS ),
345
- SMU_CAP (HST_LIMIT_METRICS ),
346
342
SMU_CAP (PER_INST_METRICS ) };
347
343
uint32_t fw_ver = smu -> smc_fw_version ;
348
344
@@ -387,8 +383,6 @@ static void smu_v13_0_6_init_caps(struct smu_context *smu)
387
383
smu_v13_0_6_cap_clear (smu , SMU_CAP (RMA_MSG ));
388
384
smu_v13_0_6_cap_clear (smu , SMU_CAP (ACA_SYND ));
389
385
390
- if (fw_ver >= 0x04556F00 )
391
- smu_v13_0_6_cap_set (smu , SMU_CAP (HST_LIMIT_METRICS ));
392
386
if (fw_ver >= 0x04556A00 )
393
387
smu_v13_0_6_cap_set (smu , SMU_CAP (PER_INST_METRICS ));
394
388
} else {
@@ -408,8 +402,6 @@ static void smu_v13_0_6_init_caps(struct smu_context *smu)
408
402
smu_v13_0_6_cap_clear (smu , SMU_CAP (RMA_MSG ));
409
403
if (fw_ver < 0x00555600 )
410
404
smu_v13_0_6_cap_clear (smu , SMU_CAP (ACA_SYND ));
411
- if (pgm == 0 && fw_ver >= 0x557900 )
412
- smu_v13_0_6_cap_set (smu , SMU_CAP (HST_LIMIT_METRICS ));
413
405
}
414
406
if (((pgm == 7 ) && (fw_ver >= 0x7550700 )) ||
415
407
((pgm == 0 ) && (fw_ver >= 0x00557900 )) ||
@@ -2674,13 +2666,6 @@ static ssize_t smu_v13_0_6_get_gpu_metrics(struct smu_context *smu, void **table
2674
2666
gpu_metrics -> xcp_stats [i ].gfx_busy_acc [idx ] =
2675
2667
SMUQ10_ROUND (GET_GPU_METRIC_FIELD (GfxBusyAcc ,
2676
2668
version )[inst ]);
2677
-
2678
- if (smu_v13_0_6_cap_supported (
2679
- smu , SMU_CAP (HST_LIMIT_METRICS )))
2680
- gpu_metrics -> xcp_stats [i ].gfx_below_host_limit_acc [idx ] =
2681
- SMUQ10_ROUND (GET_GPU_METRIC_FIELD
2682
- (GfxclkBelowHostLimitAcc , version )
2683
- [inst ]);
2684
2669
idx ++ ;
2685
2670
}
2686
2671
}
0 commit comments