/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_atomfirmware.c | 160 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 …]
|
D | amdgpu_atombios.c | 1403 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/ |
D | dcn302_fpu.c | 211 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/ |
D | dcn303_fpu.c | 207 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/ |
D | omapfb-ioctl.c | 590 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/ |
D | ppatomctrl.c | 137 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/ |
D | dcn321_fpu.c | 537 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/ |
D | radeon_atombios.c | 3809 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/ |
D | dc_bios_types.h | 184 struct dc_vram_info vram_info; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser2.c | 2345 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/ |
D | dcn30_fpu.c | 540 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/ |
D | dcn30_resource.c | 2116 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/ |
D | dcn32_fpu.c | 2378 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/ |
D | dcn302_resource.c | 1225 …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/ |
D | dcn303_resource.c | 1156 dc->ctx->dc_bios->vram_info.num_chans * in dcn303_resource_construct()
|
/linux-6.1.9/drivers/gpu/drm/amd/include/ |
D | atomfirmware.h | 417 uint16_t vram_info; /* Shared by various SW components */ member
|