rocm_smi_lib: fix gpu_metrics_v1_3 support

Signed-off-by: Elena Sakhnovitch
Change-Id: Ia7a6b17eb0f317465613ba92ae7548a221c46ee3
This commit is contained in:
Elena Sakhnovitch
2021-08-13 11:59:50 -04:00
والد fee82af1fe
کامیت 5e1bfcadd7
2فایلهای تغییر یافته به همراه10 افزوده شده و 21 حذف شده
+10 -8
مشاهده پرونده
@@ -123,16 +123,18 @@ typedef struct {
typedef struct {
rsmi_gpu_metrics_t base;
/* PMFW attached timestamp (10ns resolution) */
uint64_t firmware_timestamp;
/* PMFW attached timestamp (10ns resolution) */
uint64_t firmware_timestamp;
/* Voltage (mV) */
uint16_t voltage_soc;
uint16_t voltage_gfx;
uint16_t voltage_mem;
/* Voltage (mV) */
uint16_t voltage_soc;
uint16_t voltage_gfx;
uint16_t voltage_mem;
/* Throttle status (ASIC independent) */
uint64_t indep_throttle_status;
uint16_t padding1;
/* Throttle status (ASIC independent) */
uint64_t indep_throttle_status;
} rsmi_gpu_metrics_v_1_3;