Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c160 union vram_info { union
237 union vram_info *vram_info; in amdgpu_atomfirmware_get_vram_info() local
251 vram_info); in amdgpu_atomfirmware_get_vram_info()
300 vram_info = (union vram_info *) in amdgpu_atomfirmware_get_vram_info()
307 vram_module = (union vram_module *)vram_info->v30.vram_module; in amdgpu_atomfirmware_get_vram_info()
311 mem_type = vram_info->v30.memory_type; in amdgpu_atomfirmware_get_vram_info()
314 mem_channel_number = vram_info->v30.channel_num; in amdgpu_atomfirmware_get_vram_info()
315 mem_channel_width = vram_info->v30.channel_width; in amdgpu_atomfirmware_get_vram_info()
326 if (module_id > vram_info->v23.vram_module_num) in amdgpu_atomfirmware_get_vram_info()
328 vram_module = (union vram_module *)vram_info->v23.vram_module; in amdgpu_atomfirmware_get_vram_info()
[all …]
Damdgpu_atombios.c1403 union vram_info { union
1425 union vram_info *vram_info; in amdgpu_atombios_init_mc_reg_table() local
1431 vram_info = (union vram_info *) in amdgpu_atombios_init_mc_reg_table()
1440 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in amdgpu_atombios_init_mc_reg_table()
1443 ((u8 *)vram_info + le16_to_cpu(vram_info->v2_1.usMemClkPatchTblOffset)); in amdgpu_atombios_init_mc_reg_table()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn302/
Ddcn302_fpu.c211 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn302_fpu_update_bw_bounding_box()
212 dcn3_02_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn302_fpu_update_bw_bounding_box()
214 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn302_fpu_update_bw_bounding_box()
215 dcn3_02_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn302_fpu_update_bw_bounding_box()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn303/
Ddcn303_fpu.c207 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn303_fpu_update_bw_bounding_box()
208 dcn3_03_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn303_fpu_update_bw_bounding_box()
210 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn303_fpu_update_bw_bounding_box()
211 dcn3_03_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn303_fpu_update_bw_bounding_box()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c537 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn321_update_bw_bounding_box_fpu()
538 dcn3_21_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn321_update_bw_bounding_box_fpu()
540 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn321_update_bw_bounding_box_fpu()
541 dcn3_21_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn321_update_bw_bounding_box_fpu()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_atombios.c3809 union vram_info { union
3821 union vram_info *vram_info; in radeon_atom_get_memory_info() local
3827 vram_info = (union vram_info *) in radeon_atom_get_memory_info()
3834 if (module_index < vram_info->v1_3.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3836 (ATOM_VRAM_MODULE_V3 *)vram_info->v1_3.aVramInfo; in radeon_atom_get_memory_info()
3851 if (module_index < vram_info->v1_4.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3853 (ATOM_VRAM_MODULE_V4 *)vram_info->v1_4.aVramInfo; in radeon_atom_get_memory_info()
3875 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3877 (ATOM_VRAM_MODULE_V7 *)vram_info->v2_1.aVramInfo; in radeon_atom_get_memory_info()
3911 union vram_info *vram_info; in radeon_atom_get_mclk_range_table() local
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_bios_types.h184 struct dc_vram_info vram_info; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c2345 DATA_TABLES(vram_info)); in get_vram_info_v23()
2364 DATA_TABLES(vram_info)); in get_vram_info_v24()
2383 DATA_TABLES(vram_info)); in get_vram_info_v25()
2402 DATA_TABLES(vram_info)); in get_vram_info_v30()
3058 if (info && DATA_TABLES(vram_info)) { in bios_parser_get_vram_info()
3060 DATA_TABLES(vram_info)); in bios_parser_get_vram_info()
3683 bios_parser_get_vram_info(&bp->base, &bp->base.vram_info); in bios_parser2_construct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c540 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn30_fpu_update_dram_channel_width_bytes()
541 dcn3_0_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn30_fpu_update_dram_channel_width_bytes()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2116 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn30_update_bw_bounding_box()
2117 dcn3_0_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn30_update_bw_bounding_box()
2290 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn30_resource_construct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2378 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn32_update_bw_bounding_box_fpu()
2379 dcn3_2_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn32_update_bw_bounding_box_fpu()
2381 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn32_update_bw_bounding_box_fpu()
2382 dcn3_2_soc.dram_channel_width_bytes = dc->ctx->dc_bios->vram_info.dram_channel_width_bytes; in dcn32_update_bw_bounding_box_fpu()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c1225 …dc->caps.mall_size_total = dc->caps.mall_size_per_mem_channel * dc->ctx->dc_bios->vram_info.num_ch… in dcn302_resource_construct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c1156 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct()
/linux-6.1.9/drivers/gpu/drm/amd/include/
Datomfirmware.h417 uint16_t vram_info; /* Shared by various SW components */ member