diff --git a/projects/amdsmi/py-interface/README.md b/projects/amdsmi/py-interface/README.md index f159ecdc04..09eb158b49 100644 --- a/projects/amdsmi/py-interface/README.md +++ b/projects/amdsmi/py-interface/README.md @@ -341,6 +341,7 @@ Field | Content ---|--- `market_name` | market name `vendor_id` | vendor id +`vendor_name` | vendor name `device_id` | device id `rev_id` | revision id `asic_serial` | asic serial diff --git a/projects/amdsmi/py-interface/amdsmi_interface.py b/projects/amdsmi/py-interface/amdsmi_interface.py index 2b4f80ff6a..3fc4751e71 100644 --- a/projects/amdsmi/py-interface/amdsmi_interface.py +++ b/projects/amdsmi/py-interface/amdsmi_interface.py @@ -639,6 +639,7 @@ def amdsmi_get_gpu_asic_info( return { "market_name": asic_info.market_name.decode("utf-8"), "vendor_id": asic_info.vendor_id, + "vendor_name": asic_info.vendor_name.decode("utf-8"), "subvendor_id": asic_info.subvendor_id, "device_id": asic_info.device_id, "rev_id": asic_info.rev_id,