Home
last modified time | relevance | path

Searched refs:vram_module (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c168 union vram_module { union
238 union vram_module *vram_module; in amdgpu_atomfirmware_get_vram_info() local
307 vram_module = (union vram_module *)vram_info->v30.vram_module; in amdgpu_atomfirmware_get_vram_info()
308 mem_vendor = (vram_module->v30.dram_vendor_id) & 0xF; in amdgpu_atomfirmware_get_vram_info()
328 vram_module = (union vram_module *)vram_info->v23.vram_module; in amdgpu_atomfirmware_get_vram_info()
330 vram_module = (union vram_module *) in amdgpu_atomfirmware_get_vram_info()
331 ((u8 *)vram_module + vram_module->v9.vram_module_size); in amdgpu_atomfirmware_get_vram_info()
334 mem_type = vram_module->v9.memory_type; in amdgpu_atomfirmware_get_vram_info()
337 mem_channel_number = vram_module->v9.channel_num; in amdgpu_atomfirmware_get_vram_info()
338 mem_channel_width = vram_module->v9.channel_width; in amdgpu_atomfirmware_get_vram_info()
[all …]
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_atombios.c3835 ATOM_VRAM_MODULE_V3 *vram_module = in radeon_atom_get_memory_info() local
3839 if (le16_to_cpu(vram_module->usSize) == 0) in radeon_atom_get_memory_info()
3841 vram_module = (ATOM_VRAM_MODULE_V3 *) in radeon_atom_get_memory_info()
3842 ((u8 *)vram_module + le16_to_cpu(vram_module->usSize)); in radeon_atom_get_memory_info()
3844 mem_info->mem_vendor = vram_module->asMemory.ucMemoryVenderID & 0xf; in radeon_atom_get_memory_info()
3845 mem_info->mem_type = vram_module->asMemory.ucMemoryType & 0xf0; in radeon_atom_get_memory_info()
3852 ATOM_VRAM_MODULE_V4 *vram_module = in radeon_atom_get_memory_info() local
3856 if (le16_to_cpu(vram_module->usModuleSize) == 0) in radeon_atom_get_memory_info()
3858 vram_module = (ATOM_VRAM_MODULE_V4 *) in radeon_atom_get_memory_info()
3859 ((u8 *)vram_module + le16_to_cpu(vram_module->usModuleSize)); in radeon_atom_get_memory_info()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c2350 info->num_chans = info_v23->vram_module[0].channel_num; in get_vram_info_v23()
2351 info->dram_channel_width_bytes = (1 << info_v23->vram_module[0].channel_width) / 8; in get_vram_info_v23()
2369 info->num_chans = info_v24->vram_module[0].channel_num; in get_vram_info_v24()
2370 info->dram_channel_width_bytes = (1 << info_v24->vram_module[0].channel_width) / 8; in get_vram_info_v24()
2388 info->num_chans = info_v25->vram_module[0].channel_num; in get_vram_info_v25()
2389 info->dram_channel_width_bytes = (1 << info_v25->vram_module[0].channel_width) / 8; in get_vram_info_v25()
/linux-6.1.9/drivers/gpu/drm/amd/include/
Datomfirmware.h3114 …struct atom_vram_module_v9 vram_module[16]; // just for allocation, real number of bloc… member
3159 struct atom_vram_module_v3_0 vram_module[8]; member
3241 …struct atom_vram_module_v10 vram_module[16]; // just for allocation, real number of bloc… member
3365 …struct atom_vram_module_v11 vram_module[16]; // just for allocation, real number of bloc… member
3382 struct atom_vram_module_v9 vram_module[16]; member