SWDEV-403153 - Fixed eeprom hex casting
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I46531bd9ae60947539d4b95e5b21c7008ec0b3ea
[ROCm/amdsmi commit: 8b0b0490d1]
This commit is contained in:
1 parent
517ea90c12
commit
7dc9618e77
2 files changed
+3
-3
No files matched your search
@@ -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