[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 <josnarlo.amd.com>

---------

Signed-off-by: amd-josnarlo <josnarlo.amd.com>
Co-authored-by: amd-josnarlo <josnarlo.amd.com>
Dieser Commit ist enthalten in:
Joseph Narlo
2026-01-14 13:52:58 -06:00
committet von GitHub
Ursprung a3b445118d
Commit 499127c0b9
+4 -1
Datei anzeigen
@@ -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.