Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c160 union vram_info { union
231 union vram_info *vram_info; in amdgpu_atomfirmware_get_vram_info() local
245 vram_info); in amdgpu_atomfirmware_get_vram_info()
294 vram_info = (union vram_info *) in amdgpu_atomfirmware_get_vram_info()
299 if (module_id > vram_info->v23.vram_module_num) in amdgpu_atomfirmware_get_vram_info()
301 vram_module = (union vram_module *)vram_info->v23.vram_module; in amdgpu_atomfirmware_get_vram_info()
319 if (module_id > vram_info->v24.vram_module_num) in amdgpu_atomfirmware_get_vram_info()
321 vram_module = (union vram_module *)vram_info->v24.vram_module; in amdgpu_atomfirmware_get_vram_info()
339 if (module_id > vram_info->v25.vram_module_num) in amdgpu_atomfirmware_get_vram_info()
341 vram_module = (union vram_module *)vram_info->v25.vram_module; in amdgpu_atomfirmware_get_vram_info()
[all …]
Damdgpu_atombios.c1402 union vram_info { union
1424 union vram_info *vram_info; in amdgpu_atombios_init_mc_reg_table() local
1430 vram_info = (union vram_info *) in amdgpu_atombios_init_mc_reg_table()
1439 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in amdgpu_atombios_init_mc_reg_table()
1442 ((u8 *)vram_info + le16_to_cpu(vram_info->v2_1.usMemClkPatchTblOffset)); in amdgpu_atombios_init_mc_reg_table()
/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()
/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()
174 ATOM_VRAM_INFO_HEADER_V2_2 *vram_info; in atomctrl_initialize_mc_reg_table_v2_2() local
180 vram_info = (ATOM_VRAM_INFO_HEADER_V2_2 *) in atomctrl_initialize_mc_reg_table_v2_2()
184 if (module_index >= vram_info->ucNumOfVRAMModule) { in atomctrl_initialize_mc_reg_table_v2_2()
187 } else if (vram_info->sHeader.ucTableFormatRevision < 2) { in atomctrl_initialize_mc_reg_table_v2_2()
194 ((uint8_t *)vram_info + le16_to_cpu(vram_info->usMemClkPatchTblOffset)); in atomctrl_initialize_mc_reg_table_v2_2()
/drivers/gpu/drm/radeon/
Dradeon_atombios.c3811 union vram_info { union
3823 union vram_info *vram_info; in radeon_atom_get_memory_info() local
3829 vram_info = (union vram_info *) in radeon_atom_get_memory_info()
3836 if (module_index < vram_info->v1_3.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3838 (ATOM_VRAM_MODULE_V3 *)vram_info->v1_3.aVramInfo; in radeon_atom_get_memory_info()
3853 if (module_index < vram_info->v1_4.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3855 (ATOM_VRAM_MODULE_V4 *)vram_info->v1_4.aVramInfo; in radeon_atom_get_memory_info()
3877 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3879 (ATOM_VRAM_MODULE_V7 *)vram_info->v2_1.aVramInfo; in radeon_atom_get_memory_info()
3913 union vram_info *vram_info; in radeon_atom_get_mclk_range_table() local
[all …]
/drivers/gpu/drm/amd/display/dc/
Ddc_bios_types.h179 struct dc_vram_info vram_info; member
/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c1227 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn303_update_bw_bounding_box()
1228 dcn3_03_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn303_update_bw_bounding_box()
1230 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn303_update_bw_bounding_box()
1231 dcn3_03_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn303_update_bw_bounding_box()
1458 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct()
/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c1297 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn302_update_bw_bounding_box()
1298 dcn3_02_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn302_update_bw_bounding_box()
1300 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn302_update_bw_bounding_box()
1301 dcn3_02_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn302_update_bw_bounding_box()
1516 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn302_resource_construct()
/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c1720 DATA_TABLES(vram_info)); in get_vram_info_v23()
1739 DATA_TABLES(vram_info)); in get_vram_info_v24()
1758 DATA_TABLES(vram_info)); in get_vram_info_v25()
2345 if (info && DATA_TABLES(vram_info)) { in bios_parser_get_vram_info()
2347 DATA_TABLES(vram_info)); in bios_parser_get_vram_info()
2910 bios_parser_get_vram_info(&bp->base, &bp->base.vram_info); in bios_parser2_construct()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2395 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn30_update_bw_bounding_box()
2396 dcn3_0_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn30_update_bw_bounding_box()
2398 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn30_update_bw_bounding_box()
2399 dcn3_0_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn30_update_bw_bounding_box()
2595 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn30_resource_construct()
/drivers/gpu/drm/amd/include/
Datomfirmware.h417 uint16_t vram_info; /* Shared by various SW components */ member