SWDEV-495316 [AMDSMI] In amdsmi.h, change typedef amdsmi_accelerator_partition_profile_t to match definition in Confluence

Move memory_caps defintion and correct the number in reserved to match Confluence

Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com>
Change-Id: Id94144f4b3d2d3d7b4d7327211ffc1957ffd0a93


[ROCm/amdsmi commit: 54462ab447]
This commit is contained in:
Joe Narlo
2024-10-30 09:55:52 -05:00
committed by Joseph Narlo
parent a33cdd7da6
commit 73f909cd8b
+2 -2
View File
@@ -691,11 +691,11 @@ typedef union {
typedef struct {
amdsmi_accelerator_partition_type_t profile_type; // SPX, DPX, QPX, CPX and so on
uint32_t num_partitions; // On MI300X, SPX: 1, DPX: 2, QPX: 4, CPX: 8, length of resources array
uint32_t profile_index;
amdsmi_nps_caps_t memory_caps; // Possible memory partition capabilities
uint32_t profile_index;
uint32_t num_resources; // length of index_of_resources_profile
uint32_t resources[AMDSMI_MAX_ACCELERATOR_PARTITIONS][AMDSMI_MAX_CP_PROFILE_RESOURCES];
uint64_t reserved[6];
uint64_t reserved[13];
} amdsmi_accelerator_partition_profile_t;
typedef enum {