Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c121 union vram_info { union
186 union vram_info *vram_info; in amdgpu_atomfirmware_get_vram_info() local
200 vram_info); in amdgpu_atomfirmware_get_vram_info()
231 vram_info = (union vram_info *) in amdgpu_atomfirmware_get_vram_info()
236 if (module_id > vram_info->v23.vram_module_num) in amdgpu_atomfirmware_get_vram_info()
238 vram_module = (union vram_module *)vram_info->v23.vram_module; in amdgpu_atomfirmware_get_vram_info()
256 if (module_id > vram_info->v24.vram_module_num) in amdgpu_atomfirmware_get_vram_info()
258 vram_module = (union vram_module *)vram_info->v24.vram_module; in amdgpu_atomfirmware_get_vram_info()
276 if (module_id > vram_info->v25.vram_module_num) in amdgpu_atomfirmware_get_vram_info()
278 vram_module = (union vram_module *)vram_info->v25.vram_module; in amdgpu_atomfirmware_get_vram_info()
Damdgpu_atombios.c1553 union vram_info { union
1575 union vram_info *vram_info; in amdgpu_atombios_init_mc_reg_table() local
1581 vram_info = (union vram_info *) in amdgpu_atombios_init_mc_reg_table()
1590 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in amdgpu_atombios_init_mc_reg_table()
1593 ((u8 *)vram_info + le16_to_cpu(vram_info->v2_1.usMemClkPatchTblOffset)); in amdgpu_atombios_init_mc_reg_table()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c590 struct omapfb_vram_info vram_info; in omapfb_ioctl() member
844 p.vram_info.total = SZ_1M * 64; in omapfb_ioctl()
845 p.vram_info.free = SZ_1M * 64; in omapfb_ioctl()
846 p.vram_info.largest_free_block = SZ_1M * 64; in omapfb_ioctl()
848 if (copy_to_user((void __user *)arg, &p.vram_info, in omapfb_ioctl()
849 sizeof(p.vram_info))) in omapfb_ioctl()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_bios_types.h167 struct dc_vram_info vram_info; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c1468 DATA_TABLES(vram_info)); in get_vram_info_v23()
1487 DATA_TABLES(vram_info)); in get_vram_info_v24()
1506 DATA_TABLES(vram_info)); in get_vram_info_v25()
1817 if (info && DATA_TABLES(vram_info)) { in bios_parser_get_vram_info()
1819 DATA_TABLES(vram_info)); in bios_parser_get_vram_info()
2376 bios_parser_get_vram_info(&bp->base, &bp->base.vram_info); in bios_parser2_construct()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2448 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn30_update_bw_bounding_box()
2449 dcn3_0_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn30_update_bw_bounding_box()
2451 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn30_update_bw_bounding_box()
2452 dcn3_0_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn30_update_bw_bounding_box()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Datomfirmware.h411 uint16_t vram_info; /* Shared by various SW components */ member