SWDEV-403153 - Fixed eeprom hex casting
Signed-off-by: Maisam Arif <maisarif@amd.com> Change-Id: I46531bd9ae60947539d4b95e5b21c7008ec0b3ea
This commit is contained in:
@@ -1180,7 +1180,7 @@ def amdsmi_get_gpu_ras_feature_info(
|
||||
)
|
||||
|
||||
return {
|
||||
"eeprom_version": ras_feature.ras_eeprom_version,
|
||||
"eeprom_version": hex(ras_feature.ras_eeprom_version),
|
||||
"parity_schema" : bool(ras_feature.ecc_correction_schema_flag & 1),
|
||||
"single_bit_schema" : bool(ras_feature.ecc_correction_schema_flag & 2),
|
||||
"double_bit_schema" : bool(ras_feature.ecc_correction_schema_flag & 4),
|
||||
|
||||
Reference in New Issue
Block a user