[SWDEV-532129] Update amdsmi asic info (#369)

* Added `subsystem_id` to `amdsmi_get_gpu_asic_info`
---------
Signed-off-by: Narlo, Joseph <Joseph.Narlo@amd.com>

[ROCm/amdsmi commit: 9862db63dd]
This commit is contained in:
Narlo, Joseph
2025-05-28 18:26:58 -05:00
committed by GitHub
parent 1fbddb6dcc
commit d2bf77401e
12 changed files with 28 additions and 15 deletions
+5 -4
View File
@@ -814,14 +814,15 @@ typedef struct {
char market_name[AMDSMI_MAX_STRING_LENGTH];
uint32_t vendor_id; //!< Use 32 bit to be compatible with other platform.
char vendor_name[AMDSMI_MAX_STRING_LENGTH];
uint32_t subvendor_id; //!< The subsystem vendor id
uint64_t device_id; //!< The device id of a GPU
uint32_t rev_id;
uint32_t subvendor_id; //!< The subsystem vendor ID
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; //!< 0xFFFF if not supported
uint32_t num_of_compute_units; //!< 0xFFFFFFFF if not supported
uint64_t target_graphics_version; //!< 0xFFFFFFFFFFFFFFFF if not supported
uint32_t reserved[22];
uint32_t subsystem_id; //!> The subsystem ID
uint32_t reserved[21];
} amdsmi_asic_info_t;