Home
last modified time | relevance | path

Searched refs:mtilea (Results 1 – 15 of 15) sorted by relevance

/third_party/libdrm/radeon/
Dradeon_surface.c675 mtilew = (tilew * surf->bankw * surf_man->hw_info.num_pipes) * surf->mtilea; in eg_surface_init_2d()
676 mtileh = (tileh * surf->bankh * surf_man->hw_info.num_banks) / surf->mtilea; in eg_surface_init_2d()
746 switch (surf->mtilea) { in eg_surface_sanity()
756 if (surf_man->hw_info.num_banks < surf->mtilea) { in eg_surface_sanity()
921 surf->mtilea = surf_man->hw_info.num_banks; in eg_surface_best()
928 if (surf->mtilea > 8) { in eg_surface_best()
929 surf->mtilea = 8; in eg_surface_best()
1020 surf->mtilea = 1 << (log2_int(h_over_w) >> 1); in eg_surface_best()
1320 surf->mtilea = 1; in si_surface_sanity()
1399 …si_gb_tile_mode(gb_tile_mode, NULL, NULL, &surf->mtilea, &surf->bankw, &surf->bankh, &surf->tile_s… in si_surface_sanity()
[all …]
Dradeon_surface.h132 uint32_t mtilea; member
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c153 surf_drm->mtilea = surf_ws->u.legacy.mtilea; in surf_winsys_to_drm()
195 surf_ws->u.legacy.mtilea = surf_drm->mtilea; in surf_drm_to_winsys()
Dradeon_drm_bo.c904 …surf->u.legacy.mtilea = (args.tiling_flags >> RADEON_TILING_EG_MACRO_TILE_ASPECT_SHIFT) & RADEON_T… in radeon_bo_get_metadata()
926 …md->u.legacy.mtilea = (args.tiling_flags >> RADEON_TILING_EG_MACRO_TILE_ASPECT_SHIFT) & RADEON_TIL… in radeon_bo_get_metadata()
960 args.tiling_flags |= (surf->u.legacy.mtilea & RADEON_TILING_EG_MACRO_TILE_ASPECT_MASK) << in radeon_bo_set_metadata()
985 args.tiling_flags |= (md->u.legacy.mtilea & RADEON_TILING_EG_MACRO_TILE_ASPECT_MASK) << in radeon_bo_set_metadata()
/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_video.c179 surfaces[i]->u.legacy.mtilea = surfaces[best_tiling]->u.legacy.mtilea; in rvid_join_surfaces()
Dr600_texture.c287 metadata->u.legacy.mtilea = surface->u.legacy.mtilea; in r600_texture_init_metadata()
303 surf->u.legacy.mtilea = metadata->u.legacy.mtilea; in r600_surface_import_metadata()
611 fmask.u.legacy.mtilea = rtex->surface.u.legacy.mtilea; in r600_texture_get_fmask_info()
837 rtex->surface.u.legacy.bankh, rtex->surface.u.legacy.num_banks, rtex->surface.u.legacy.mtilea, in r600_print_texture_info()
Dradeon_uvd.c1243 assert(luma->u.legacy.mtilea == chroma->u.legacy.mtilea); in ruvd_set_dt_surfaces()
1248 …code.dt_surf_tile_config |= RUVD_MACRO_TILE_ASPECT_RATIO(macro_tile_aspect(luma->u.legacy.mtilea)); in ruvd_set_dt_surfaces()
Devergreen_state.c814 macro_aspect = tmp->surface.u.legacy.mtilea; in evergreen_fill_tex_resource_words()
1163 macro_aspect = rtex->surface.u.legacy.mtilea; in evergreen_set_color_surface_common()
1382 macro_aspect = rtex->surface.u.legacy.mtilea; in evergreen_init_depth_surface()
3822 mt_aspect = eg_macro_tile_aspect(rsrc->surface.u.legacy.mtilea); in evergreen_dma_copy_tile()
3847 mt_aspect = eg_macro_tile_aspect(rdst->surface.u.legacy.mtilea); in evergreen_dma_copy_tile()
/third_party/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h148 unsigned mtilea; member
Dradv_image.c438 surface->u.legacy.mtilea = md->u.legacy.mtilea; in radv_patch_surface_from_metadata()
1399 metadata->u.legacy.mtilea = surface->u.legacy.mtilea; in radv_init_metadata()
/third_party/mesa3d/src/amd/common/
Dac_surface.h116 unsigned mtilea : 4; /* max 8 */ member
Dac_surface.c916 surf->u.legacy.mtilea = csio->pTileInfo->macroAspectRatio; in gfx6_surface_settings()
1172 surf->u.legacy.bankh && surf->u.legacy.mtilea && surf->u.legacy.tile_split) { in gfx6_compute_surface()
1178 AddrTileInfoIn.macroAspectRatio = surf->u.legacy.mtilea; in gfx6_compute_surface()
2641 surf->u.legacy.mtilea = 1 << AMDGPU_TILING_GET(tiling_flags, MACRO_TILE_ASPECT); in ac_surface_set_bo_metadata()
2696 *tiling_flags |= AMDGPU_TILING_SET(MACRO_TILE_ASPECT, util_logbase2(surf->u.legacy.mtilea)); in ac_surface_get_bo_metadata()
3086 surf->u.legacy.num_banks, surf->u.legacy.mtilea, in ac_surface_print_info()
/third_party/mesa3d/src/gallium/include/winsys/
Dradeon_winsys.h226 unsigned mtilea; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_uvd.c1476 assert(luma->u.legacy.mtilea == chroma->u.legacy.mtilea); in si_uvd_set_dt_surfaces()
1482 RUVD_MACRO_TILE_ASPECT_RATIO(macro_tile_aspect(luma->u.legacy.mtilea)); in si_uvd_set_dt_surfaces()
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c916 tiling_flags |= AMDGPU_TILING_SET(MACRO_TILE_ASPECT, util_logbase2(md->u.legacy.mtilea)); in radv_amdgpu_winsys_bo_set_metadata()
962 md->u.legacy.mtilea = 1 << AMDGPU_TILING_GET(tiling_flags, MACRO_TILE_ASPECT); in radv_amdgpu_winsys_bo_get_metadata()