Pull out ASIC revision from HSA capability
KFD now passes the ASIC revision to user level through some bits in the HSA topology's capability field. Some user-level software wants this because different ASIC revisions may require user-level software to do different things (e.g. patch code for things that are changed in later hardware revisions). Change-Id: I16f2a15ae0875edd01ebdb1f1685ec7865f7049e
Tá an tiomantas seo le fáil i:
@@ -212,7 +212,8 @@ typedef union
|
||||
unsigned int SRAM_EDCSupport: 1; // Indicates if GFX internal SRAM EDC/ECC functionality is active
|
||||
unsigned int Mem_EDCSupoort: 1; // Indicates if GFX internal DRAM/HBM EDC/ECC functionality is active
|
||||
unsigned int RASEventNotify: 1; // Indicates if GFX extended RASFeatures and RAS EventNotify status is available
|
||||
unsigned int Reserved : 10;
|
||||
unsigned int ASICRevision: 4; // Indicates the ASIC revision of the chip on this node.
|
||||
unsigned int Reserved : 6;
|
||||
} ui32;
|
||||
} HSA_CAPABILITY;
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir