Home
last modified time | relevance | path

Searched refs:vram_info (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c119 union vram_info { union
133 union vram_info *vram_info; in amdgpu_atomfirmware_get_vram_width() local
143 vram_info); in amdgpu_atomfirmware_get_vram_width()
160 vram_info = (union vram_info *) in amdgpu_atomfirmware_get_vram_width()
164 mem_channel_number = vram_info->v23.vram_module[0].channel_num; in amdgpu_atomfirmware_get_vram_width()
165 mem_channel_width = vram_info->v23.vram_module[0].channel_width; in amdgpu_atomfirmware_get_vram_width()
168 mem_channel_number = vram_info->v24.vram_module[0].channel_num; in amdgpu_atomfirmware_get_vram_width()
169 mem_channel_width = vram_info->v24.vram_module[0].channel_width; in amdgpu_atomfirmware_get_vram_width()
232 union vram_info *vram_info; in amdgpu_atomfirmware_get_vram_type() local
241 vram_info); in amdgpu_atomfirmware_get_vram_type()
[all …]
Damdgpu_atombios.c1569 union vram_info { union
1591 union vram_info *vram_info; in amdgpu_atombios_init_mc_reg_table() local
1597 vram_info = (union vram_info *) in amdgpu_atombios_init_mc_reg_table()
1606 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in amdgpu_atombios_init_mc_reg_table()
1609 ((u8 *)vram_info + le16_to_cpu(vram_info->v2_1.usMemClkPatchTblOffset)); in amdgpu_atombios_init_mc_reg_table()
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c593 struct omapfb_vram_info vram_info; in omapfb_ioctl() member
847 p.vram_info.total = SZ_1M * 64; in omapfb_ioctl()
848 p.vram_info.free = SZ_1M * 64; in omapfb_ioctl()
849 p.vram_info.largest_free_block = SZ_1M * 64; in omapfb_ioctl()
851 if (copy_to_user((void __user *)arg, &p.vram_info, in omapfb_ioctl()
852 sizeof(p.vram_info))) in omapfb_ioctl()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_atombios.c3817 union vram_info { union
3829 union vram_info *vram_info; in radeon_atom_get_memory_info() local
3835 vram_info = (union vram_info *) in radeon_atom_get_memory_info()
3842 if (module_index < vram_info->v1_3.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3844 (ATOM_VRAM_MODULE_V3 *)vram_info->v1_3.aVramInfo; in radeon_atom_get_memory_info()
3859 if (module_index < vram_info->v1_4.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3861 (ATOM_VRAM_MODULE_V4 *)vram_info->v1_4.aVramInfo; in radeon_atom_get_memory_info()
3883 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3885 (ATOM_VRAM_MODULE_V7 *)vram_info->v2_1.aVramInfo; in radeon_atom_get_memory_info()
3919 union vram_info *vram_info; in radeon_atom_get_mclk_range_table() local
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dppatomctrl.c137 ATOM_VRAM_INFO_HEADER_V2_1 *vram_info; in atomctrl_initialize_mc_reg_table() local
143 vram_info = (ATOM_VRAM_INFO_HEADER_V2_1 *) in atomctrl_initialize_mc_reg_table()
147 if (module_index >= vram_info->ucNumOfVRAMModule) { in atomctrl_initialize_mc_reg_table()
150 } else if (vram_info->sHeader.ucTableFormatRevision < 2) { in atomctrl_initialize_mc_reg_table()
157 ((uint8_t *)vram_info + le16_to_cpu(vram_info->usMemClkPatchTblOffset)); in atomctrl_initialize_mc_reg_table()
/Linux-v5.4/drivers/gpu/drm/amd/include/
Datomfirmware.h411 uint16_t vram_info; /* Shared by various SW components */ member