2
0

rocm_smi_lib: fix gpu_metrics_v1_3 support

Signed-off-by: Elena Sakhnovitch
Change-Id: Ia7a6b17eb0f317465613ba92ae7548a221c46ee3


[ROCm/amdsmi commit: 5e1bfcadd7]
Este cometimento está contido em:
Elena Sakhnovitch
2021-08-13 11:59:50 -04:00
ascendente 9a7f79905d
cometimento a620a895db
2 ficheiros modificados com 10 adições e 21 eliminações
+10 -8
Ver ficheiro
@@ -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;