From 499127c0b9e59a14a98e0f3297fea4d38bf0a678 Mon Sep 17 00:00:00 2001 From: Joseph Narlo Date: Wed, 14 Jan 2026 13:52:58 -0600 Subject: [PATCH] [SWDEV-553434] No direct way to get the BASEBOARD temperature info (#2502) * [SWDEV-553434] No direct way to get the BASEBOARD temperature info. Need to iterate all gpus Signed-off-by: amd-josnarlo --------- Signed-off-by: amd-josnarlo Co-authored-by: amd-josnarlo --- projects/amdsmi/include/amd_smi/amdsmi.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/amdsmi/include/amd_smi/amdsmi.h b/projects/amdsmi/include/amd_smi/amdsmi.h index dbc480b462..f316a147ff 100644 --- a/projects/amdsmi/include/amd_smi/amdsmi.h +++ b/projects/amdsmi/include/amd_smi/amdsmi.h @@ -943,7 +943,7 @@ typedef struct { uint64_t device_id; //!< The device ID of a GPU uint32_t rev_id; //!< The revision ID of a GPU char asic_serial[AMDSMI_MAX_STRING_LENGTH]; - uint32_t oam_id; //!< 0xFFFFFFFF if not supported + uint32_t oam_id; //!< Corresponds to socket number, 0xFFFFFFFF if not supported uint32_t num_of_compute_units; //!< 0xFFFFFFFF if not supported uint64_t target_graphics_version; //!< 0xFFFFFFFFFFFFFFFF if not supported uint32_t subsystem_id; //!> The subsystem ID @@ -6437,6 +6437,9 @@ amdsmi_get_gpu_driver_info(amdsmi_processor_handle processor_handle, amdsmi_driv * the vendor ID, the subvendor ID, the device ID, * the revision ID and the serial number. * + * @note The processor_handle that contains amdsmi_asic_info_t member oam_id = 0 + * corresponds to the socket that contains baseboard information. + * * @param[in] processor_handle Device which to query * * @param[out] info Reference to static asic information structure.