Query UBB/OAM temperature API (#581)

Add support to Query UBB/OAM temperature.
* Updated Python API with new temperature metrics enum

---------

Co-authored-by: Bill Liu <shuzhliu@amd.com>
Co-authored-by: gabrpham_amdeng <Gabriel.Pham@amd.com>
This commit is contained in:
Liu, Shuzhou (Bill)
2025-08-05 21:37:45 -04:00
committed by GitHub
parent 753a5ea326
commit abd3c02a3c
12 changed files with 964 additions and 25 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ amdsmi_status_t AMDSmiDrm::init() {
// even if fail, still add to prevent mismatch the index
if (!has_valid_fds) {
drm_bdfs_.push_back(bdf);
drm_free_device(&device);
// No need to free device here since it is not valid
continue;
}