SWDEV-463399: amdsmi_get_gpu_vram_info() adds bit-width
Driver info `amdgpu_gpu_info.vram_bit_width` is exposed through amdsmi_get_gpu_vram_info(). Code changes related to the following: * API * CLI * Unit tests * Examples Change-Id: I8abd8db7a603078b2b1c008b2685cecf35caf3d2 Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>
Este cometimento está contido em:
cometido por
Maisam Arif
ascendente
af3670d758
cometimento
893f13ab98
@@ -1770,6 +1770,7 @@ def amdsmi_get_gpu_vram_info(
|
||||
"vram_type": vram_info.vram_type,
|
||||
"vram_vendor": vram_info.vram_vendor,
|
||||
"vram_size": vram_info.vram_size,
|
||||
"vram_bit_width": vram_info.vram_bit_width
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -953,7 +953,9 @@ struct_amdsmi_vram_info_t._fields_ = [
|
||||
('vram_type', amdsmi_vram_type_t),
|
||||
('vram_vendor', amdsmi_vram_vendor_type_t),
|
||||
('vram_size', ctypes.c_uint64),
|
||||
('reserved', ctypes.c_uint64 * 6),
|
||||
('vram_bit_width', ctypes.c_uint32),
|
||||
('PADDING_0', ctypes.c_ubyte * 4),
|
||||
('reserved', ctypes.c_uint64 * 5),
|
||||
]
|
||||
|
||||
amdsmi_vram_info_t = struct_amdsmi_vram_info_t
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador