Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c223 union vram_info { union
301 union vram_info *vram_info; in amdgpu_atomfirmware_get_vram_info() local
315 vram_info); in amdgpu_atomfirmware_get_vram_info()
370 vram_info = (union vram_info *) in amdgpu_atomfirmware_get_vram_info()
377 vram_module = (union vram_module *)vram_info->v30.vram_module; in amdgpu_atomfirmware_get_vram_info()
381 mem_type = vram_info->v30.memory_type; in amdgpu_atomfirmware_get_vram_info()
384 mem_channel_number = vram_info->v30.channel_num; in amdgpu_atomfirmware_get_vram_info()
385 mem_channel_width = vram_info->v30.channel_width; in amdgpu_atomfirmware_get_vram_info()
396 if (module_id > vram_info->v23.vram_module_num) in amdgpu_atomfirmware_get_vram_info()
398 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()
Dgmc_v9_0.c2004 u32 vram_info; in gmc_v9_4_3_init_vram_info() local
2007 vram_info = RREG32(regBIF_BIOS_SCRATCH_4); in gmc_v9_4_3_init_vram_info()
2008 adev->gmc.vram_vendor = vram_info & 0xF; in gmc_v9_4_3_init_vram_info()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/gpu/drm/radeon/
Dradeon_atombios.c3812 union vram_info { union
3824 union vram_info *vram_info; in radeon_atom_get_memory_info() local
3830 vram_info = (union vram_info *) in radeon_atom_get_memory_info()
3837 if (module_index < vram_info->v1_3.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3839 (ATOM_VRAM_MODULE_V3 *)vram_info->v1_3.aVramInfo; in radeon_atom_get_memory_info()
3854 if (module_index < vram_info->v1_4.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3856 (ATOM_VRAM_MODULE_V4 *)vram_info->v1_4.aVramInfo; in radeon_atom_get_memory_info()
3878 if (module_index < vram_info->v2_1.ucNumOfVRAMModule) { in radeon_atom_get_memory_info()
3880 (ATOM_VRAM_MODULE_V7 *)vram_info->v2_1.aVramInfo; in radeon_atom_get_memory_info()
3914 union vram_info *vram_info; in radeon_atom_get_mclk_range_table() local
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c676 if (dc->ctx->dc_bios->vram_info.num_chans) { in dcn321_update_bw_bounding_box_fpu()
677 dcn3_21_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn321_update_bw_bounding_box_fpu()
679 dc->ctx->dc_bios->vram_info.num_chans) * dc->caps.mall_size_per_mem_channel); in dcn321_update_bw_bounding_box_fpu()
682 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn321_update_bw_bounding_box_fpu()
683 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.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_bios_types.h185 struct dc_vram_info vram_info; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c2347 DATA_TABLES(vram_info)); in get_vram_info_v23()
2366 DATA_TABLES(vram_info)); in get_vram_info_v24()
2385 DATA_TABLES(vram_info)); in get_vram_info_v25()
2404 DATA_TABLES(vram_info)); in get_vram_info_v30()
3057 if (info && DATA_TABLES(vram_info)) { in bios_parser_get_vram_info()
3059 DATA_TABLES(vram_info)); in bios_parser_get_vram_info()
3682 bios_parser_get_vram_info(&bp->base, &bp->base.vram_info); in bios_parser2_construct()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c597 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn30_fpu_update_dram_channel_width_bytes()
598 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.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2107 if (dc->ctx->dc_bios->vram_info.num_chans) in dcn30_update_bw_bounding_box()
2108 dcn3_0_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn30_update_bw_bounding_box()
2287 …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.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2764 if (dc->ctx->dc_bios->vram_info.num_chans) { in dcn32_update_bw_bounding_box_fpu()
2765 dcn3_2_soc.num_chans = dc->ctx->dc_bios->vram_info.num_chans; in dcn32_update_bw_bounding_box_fpu()
2767 dc->ctx->dc_bios->vram_info.num_chans) * dc->caps.mall_size_per_mem_channel); in dcn32_update_bw_bounding_box_fpu()
2770 if (dc->ctx->dc_bios->vram_info.dram_channel_width_bytes) in dcn32_update_bw_bounding_box_fpu()
2771 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.6.21/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c1223 …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.6.21/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c1147 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c965 …dc->res_pool->hubbub->funcs->set_request_limit(dc->res_pool->hubbub, dc->ctx->dc_bios->vram_info.n… in dcn32_init_hw()
Ddcn32_resource.c2154 dc, dc->ctx->dc_bios->vram_info.num_chans) * in dcn32_resource_construct()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn321/
Ddcn321_resource.c1702 dc, dc->ctx->dc_bios->vram_info.num_chans) * in dcn321_resource_construct()
/linux-6.6.21/drivers/gpu/drm/amd/include/
Datomfirmware.h418 uint16_t vram_info; /* Shared by various SW components */ member