amdsmi library updated for metric table structure
Change-Id: Ie8a9840a9020282599dd413e964d86bfb8850f6a
Tá an tiomantas seo le fáil i:
1 tuismitheoir
18d8087711
tiomantas
a0c95e855b
2 comhad athraithe
+4
-1
Níor tháinig aon chomhaid le do chuardach
@@ -3653,6 +3653,9 @@ amdsmi_status_t amdsmi_get_metrics_table(amdsmi_processor_handle processor_handl
|
||||
if (processor_handle == nullptr)
|
||||
return AMDSMI_STATUS_INVAL;
|
||||
|
||||
if(sizeof(amdsmi_hsmp_metric_table_t) != sizeof(struct hsmp_metric_table))
|
||||
return AMDSMI_STATUS_UNEXPECTED_SIZE;
|
||||
|
||||
amdsmi_status_t r = amdsmi_get_processor_info(processor_handle, SIZE, proc_id);
|
||||
if (r != AMDSMI_STATUS_SUCCESS)
|
||||
return r;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir