Export microcode version of sDMA
Change-Id: I86fa5da5e72af13a2e76e6e3be4667a7220923d5 Signed-off-by: Philip Yang <Philip.Yang@amd.com>
This commit is contained in:
@@ -150,10 +150,10 @@ typedef struct _HsaSystemProperties
|
||||
HSAuint32 PlatformRev; // HSA platform revision, reflects Platform Table Revision ID
|
||||
} HsaSystemProperties;
|
||||
|
||||
typedef union
|
||||
typedef union
|
||||
{
|
||||
HSAuint32 Value;
|
||||
struct
|
||||
struct
|
||||
{
|
||||
unsigned int uCode : 10; // ucode packet processor version
|
||||
unsigned int Major : 6; // GFXIP Major engine version
|
||||
@@ -162,6 +162,17 @@ typedef union
|
||||
}ui32;
|
||||
} HSA_ENGINE_ID;
|
||||
|
||||
typedef union
|
||||
{
|
||||
HSAuint32 Value;
|
||||
struct
|
||||
{
|
||||
unsigned int uCodeSDMA: 10; // ucode version SDMA engine
|
||||
unsigned int uCodeRes : 10; // ucode version (reserved)
|
||||
unsigned int Reserved : 12; // Reserved, must be 0
|
||||
};
|
||||
} HSA_ENGINE_VERSION;
|
||||
|
||||
typedef union
|
||||
{
|
||||
HSAuint32 Value;
|
||||
@@ -251,7 +262,8 @@ typedef struct _HsaNodeProperties
|
||||
HSAuint16 MarketingName[HSA_PUBLIC_NAME_SIZE]; // Public name of the "device" on the node (board or APU name).
|
||||
// Unicode string
|
||||
HSAuint8 AMDName[HSA_PUBLIC_NAME_SIZE]; //CAL Name of the "device", ASCII
|
||||
HSAuint8 Reserved[64];
|
||||
HSA_ENGINE_VERSION uCodeEngineVersions;
|
||||
HSAuint8 Reserved[60];
|
||||
} HsaNodeProperties;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user