Lines Matching refs:tiling
45 enum isl_tiling tiling, in isl_memcpy_linear_to_tiled() argument
52 tiling, copy_type); in isl_memcpy_linear_to_tiled()
59 tiling, copy_type); in isl_memcpy_linear_to_tiled()
68 enum isl_tiling tiling, in isl_memcpy_tiled_to_linear() argument
75 tiling, copy_type); in isl_memcpy_tiled_to_linear()
82 tiling, copy_type); in isl_memcpy_tiled_to_linear()
335 isl_tiling_get_info(enum isl_tiling tiling, in isl_tiling_get_info() argument
346 if (tiling != ISL_TILING_LINEAR && !isl_is_pow2(format_bpb)) { in isl_tiling_get_info()
352 assert(tiling == ISL_TILING_X || tiling == ISL_TILING_Y0 || in isl_tiling_get_info()
353 tiling == ISL_TILING_4); in isl_tiling_get_info()
355 isl_tiling_get_info(tiling, dim, msaa_layout, format_bpb / 3, samples, in isl_tiling_get_info()
360 switch (tiling) { in isl_tiling_get_info()
399 bool is_Ys = tiling == ISL_TILING_Ys; in isl_tiling_get_info()
529 .tiling = tiling, in isl_tiling_get_info()
589 enum isl_tiling *tiling) in isl_surf_choose_tiling() argument
597 *tiling = isl_tiling_flag_to_enum(tiling_flags); in isl_surf_choose_tiling()
609 *tiling = isl_tiling_flag_to_enum(tiling_flags); in isl_surf_choose_tiling()
624 *tiling = (__tiling); \ in isl_surf_choose_tiling()
660 enum isl_tiling tiling, in isl_choose_msaa_layout() argument
664 return isl_gfx8_choose_msaa_layout(dev, info, tiling, msaa_layout); in isl_choose_msaa_layout()
666 return isl_gfx7_choose_msaa_layout(dev, info, tiling, msaa_layout); in isl_choose_msaa_layout()
668 return isl_gfx6_choose_msaa_layout(dev, info, tiling, msaa_layout); in isl_choose_msaa_layout()
670 return isl_gfx4_choose_msaa_layout(dev, info, tiling, msaa_layout); in isl_choose_msaa_layout()
825 enum isl_tiling tiling, in isl_choose_image_alignment_el() argument
832 assert(tiling == ISL_TILING_Y0); in isl_choose_image_alignment_el()
866 isl_gfx125_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
869 isl_gfx12_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
872 isl_gfx9_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
875 isl_gfx8_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
878 isl_gfx7_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
881 isl_gfx6_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
884 isl_gfx4_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
892 enum isl_tiling tiling, in isl_surf_choose_dim_layout() argument
897 (tiling == ISL_TILING_W || tiling == ISL_TILING_HIZ)) in isl_surf_choose_dim_layout()
917 if (tiling == ISL_TILING_LINEAR) in isl_surf_choose_dim_layout()
957 enum isl_tiling tiling, in isl_calc_phys_level0_extent_sa() argument
996 if (tiling == ISL_TILING_Ys && info->samples > 1) in isl_calc_phys_level0_extent_sa()
1177 tile_info->tiling != ISL_TILING_LINEAR) { in isl_calc_array_pitch_el_rows_gfx4_2d()
1286 if (tile_info->tiling == ISL_TILING_64) { in isl_calc_phys_total_extent_el_gfx4_2d()
1528 if (tile_info->tiling != ISL_TILING_LINEAR) { in isl_calc_row_pitch_alignment()
1541 tile_info->tiling != ISL_TILING_X && in isl_calc_row_pitch_alignment()
1645 if (tile_info->tiling == ISL_TILING_LINEAR) { in isl_calc_min_row_pitch()
1752 enum isl_tiling tiling; in isl_surf_init_s() local
1753 if (!isl_surf_choose_tiling(dev, info, &tiling)) in isl_surf_init_s()
1757 isl_surf_choose_dim_layout(dev, info->dim, tiling, info->usage); in isl_surf_init_s()
1760 if (!isl_choose_msaa_layout(dev, info, tiling, &msaa_layout)) in isl_surf_init_s()
1764 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_surf_init_s()
1768 isl_choose_image_alignment_el(dev, info, tiling, dim_layout, msaa_layout, in isl_surf_init_s()
1775 isl_calc_phys_level0_extent_sa(dev, info, dim_layout, tiling, msaa_layout, in isl_surf_init_s()
1796 if (tiling == ISL_TILING_LINEAR) { in isl_surf_init_s()
1868 if (tiling == ISL_TILING_GFX12_CCS) in isl_surf_init_s()
1915 .tiling = tiling, in isl_surf_init_s()
1942 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb, in isl_surf_get_tile_info()
1957 if (!isl_tiling_is_any_y(surf->tiling)) in isl_surf_get_hiz_surf()
2162 if (surf->tiling == ISL_TILING_LINEAR) in isl_surf_supports_ccs()
2181 assert(hiz_surf->tiling == ISL_TILING_HIZ); in isl_surf_supports_ccs()
2191 assert(isl_tiling_is_any_y(mcs_surf->tiling)); in isl_surf_supports_ccs()
2227 if (surf->tiling != ISL_TILING_Y0) in isl_surf_supports_ccs()
2281 if (ISL_GFX_VER(dev) >= 9 && !isl_tiling_is_any_y(surf->tiling)) in isl_surf_supports_ccs()
2338 } else if (surf->tiling == ISL_TILING_Y0) { in isl_surf_get_ccs_surf()
2345 } else if (surf->tiling == ISL_TILING_X) { in isl_surf_get_ccs_surf()
2818 isl_tiling_get_intratile_offset_el(surf->tiling, surf->dim, in isl_surf_get_image_offset_B_tile_el()
2869 isl_tiling_get_intratile_offset_el(surf->tiling, surf->dim, in isl_surf_get_image_range_B_tile()
2884 isl_tiling_get_intratile_offset_el(surf->tiling, surf->dim, in isl_surf_get_image_range_B_tile()
2944 .tiling_flags = (1 << surf->tiling)); in isl_surf_get_image_surf()
3064 .tiling_flags = (1 << surf->tiling)); in isl_surf_get_uncompressed_surf()
3080 isl_tiling_get_intratile_offset_el(enum isl_tiling tiling, in isl_tiling_get_intratile_offset_el() argument
3097 if (tiling == ISL_TILING_LINEAR) { in isl_tiling_get_intratile_offset_el()
3111 isl_tiling_get_info(tiling, dim, msaa_layout, bpb, samples, &tile_info); in isl_tiling_get_intratile_offset_el()