Home
last modified time | relevance | path

Searched refs:surf_info (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c38 radv_amdgpu_surface_sanity(const struct ac_surf_info *surf_info, const struct radeon_surf *surf) in radv_amdgpu_surface_sanity() argument
47 if (surf_info->height > 1) in radv_amdgpu_surface_sanity()
52 if (surf_info->depth > 1 || surf_info->array_size > 1) in radv_amdgpu_surface_sanity()
56 if (surf_info->array_size > 1) in radv_amdgpu_surface_sanity()
60 if (surf_info->height > 1) in radv_amdgpu_surface_sanity()
64 if (surf_info->depth > 1) in radv_amdgpu_surface_sanity()
74 radv_amdgpu_winsys_surface_init(struct radeon_winsys *_ws, const struct ac_surf_info *surf_info, in radv_amdgpu_winsys_surface_init() argument
81 r = radv_amdgpu_surface_sanity(surf_info, surf); in radv_amdgpu_winsys_surface_init()
90 memcpy(&config.info, surf_info, sizeof(config.info)); in radv_amdgpu_winsys_surface_init()
/third_party/mesa3d/src/intel/isl/
Disl.c1525 const struct isl_surf_init_info *surf_info, in isl_calc_row_pitch_alignment() argument
1540 isl_format_supports_ccs_e(dev->info, surf_info->format) && in isl_calc_row_pitch_alignment()
1542 !(surf_info->usage & ISL_SURF_USAGE_DISABLE_AUX_BIT) && in isl_calc_row_pitch_alignment()
1543 surf_info->row_pitch_B == 0) { in isl_calc_row_pitch_alignment()
1564 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format); in isl_calc_row_pitch_alignment()
1568 if (surf_info->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) { in isl_calc_row_pitch_alignment()
1569 if (isl_format_is_yuv(surf_info->format)) { in isl_calc_row_pitch_alignment()
1592 if (surf_info->usage & ISL_SURF_USAGE_DISPLAY_BIT) { in isl_calc_row_pitch_alignment()
1593 if (surf_info->row_pitch_B == 0) in isl_calc_row_pitch_alignment()
1616 const struct isl_surf_init_info *surf_info, in isl_calc_tiled_min_row_pitch() argument
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h293 int (*surface_init)(struct radeon_winsys *ws, const struct ac_surf_info *surf_info,
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c798 char *surf_info = NULL; in si_print_texture_info() local
815 f = open_memstream(&surf_info, &surf_info_size); in si_print_texture_info()
820 u_log_printf(log, "%s", surf_info); in si_print_texture_info()
821 free(surf_info); in si_print_texture_info()
/third_party/mesa3d/src/amd/common/
Dac_surface.c169 ADDR2_COMPUTE_SURFACE_INFO_INPUT *surf_info) in ac_modifier_fill_dcc_params() argument
174 surf_info->flags.metaPipeUnaligned = 0; in ac_modifier_fill_dcc_params()
176 surf_info->flags.metaPipeUnaligned = !AMD_FMT_MOD_GET(DCC_PIPE_ALIGN, modifier); in ac_modifier_fill_dcc_params()
181surf_info->flags.metaRbUnaligned = AMD_FMT_MOD_GET(TILE_VERSION, modifier) == AMD_FMT_MOD_TILE_VER… in ac_modifier_fill_dcc_params()
183 surf_info->flags.metaPipeUnaligned; in ac_modifier_fill_dcc_params()