SWDEV-380736 - Adjusted ouput for amdsmi_get_vram_usage

Change-Id: I6a2cd2353a0c3fafc3a3690098a1e279ecd30378
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>
Bu işleme şunda yer alıyor:
Dalibor Stanisavljevic
2023-02-24 14:43:20 +01:00
ebeveyn b43b6e71c2
işleme 7b176fc2df
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
+1 -1
Dosyayı Görüntüle
@@ -551,8 +551,8 @@ Output: Dictionary with fields
Field | Description
---|---
`vram_used`| VRAM currently in use
`vram_total` | VRAM total
`vram_used`| VRAM currently in use
Exceptions that can be thrown by `amdsmi_get_vram_usage` function:
* `AmdSmiLibraryException`
+1 -1
Dosyayı Görüntüle
@@ -1027,7 +1027,7 @@ def amdsmi_get_vram_usage(
device_handle, ctypes.byref(vram_info))
)
return {"vram_used": vram_info.vram_used, "vram_total": vram_info.vram_total}
return {"vram_total": vram_info.vram_total, "vram_used": vram_info.vram_used}
def amdsmi_get_pcie_link_status(