Lines Matching refs:tiling
158 isl_tiling_get_info(enum isl_tiling tiling, in isl_tiling_get_info() argument
165 if (tiling != ISL_TILING_LINEAR && !isl_is_pow2(format_bpb)) { in isl_tiling_get_info()
171 assert(tiling == ISL_TILING_X || tiling == ISL_TILING_Y0); in isl_tiling_get_info()
173 isl_tiling_get_info(tiling, format_bpb / 3, tile_info); in isl_tiling_get_info()
177 switch (tiling) { in isl_tiling_get_info()
215 bool is_Ys = tiling == ISL_TILING_Ys; in isl_tiling_get_info()
264 .tiling = tiling, in isl_tiling_get_info()
324 enum isl_tiling *tiling) in isl_surf_choose_tiling() argument
332 *tiling = ISL_TILING_HIZ; in isl_surf_choose_tiling()
340 *tiling = ISL_TILING_CCS; in isl_surf_choose_tiling()
353 *tiling = (__tiling); \ in isl_surf_choose_tiling()
387 enum isl_tiling tiling, in isl_choose_msaa_layout() argument
391 return isl_gen8_choose_msaa_layout(dev, info, tiling, msaa_layout); in isl_choose_msaa_layout()
393 return isl_gen7_choose_msaa_layout(dev, info, tiling, msaa_layout); in isl_choose_msaa_layout()
395 return isl_gen6_choose_msaa_layout(dev, info, tiling, msaa_layout); in isl_choose_msaa_layout()
397 return isl_gen4_choose_msaa_layout(dev, info, tiling, msaa_layout); in isl_choose_msaa_layout()
552 enum isl_tiling tiling, in isl_choose_image_alignment_el() argument
559 assert(tiling == ISL_TILING_Y0); in isl_choose_image_alignment_el()
587 isl_gen9_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
590 isl_gen8_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
593 isl_gen7_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
596 isl_gen6_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
599 isl_gen4_choose_image_alignment_el(dev, info, tiling, dim_layout, in isl_choose_image_alignment_el()
607 enum isl_tiling tiling, in isl_surf_choose_dim_layout() argument
612 (tiling == ISL_TILING_W || tiling == ISL_TILING_HIZ)) in isl_surf_choose_dim_layout()
632 if (tiling == ISL_TILING_LINEAR) in isl_surf_choose_dim_layout()
672 enum isl_tiling tiling, in isl_calc_phys_level0_extent_sa() argument
711 if (tiling == ISL_TILING_Ys && info->samples > 1) in isl_calc_phys_level0_extent_sa()
892 tile_info->tiling != ISL_TILING_LINEAR) { in isl_calc_array_pitch_el_rows_gen4_2d()
1225 if (tile_info->tiling != ISL_TILING_LINEAR) in isl_calc_row_pitch_alignment()
1295 if (tile_info->tiling == ISL_TILING_LINEAR) { in isl_calc_min_row_pitch()
1334 if (surf_info->row_pitch == 0 && tile_info->tiling == ISL_TILING_LINEAR) { in isl_calc_row_pitch()
1417 enum isl_tiling tiling; in isl_surf_init_s() local
1418 if (!isl_surf_choose_tiling(dev, info, &tiling)) in isl_surf_init_s()
1422 isl_tiling_get_info(tiling, fmtl->bpb, &tile_info); in isl_surf_init_s()
1425 isl_surf_choose_dim_layout(dev, info->dim, tiling, info->usage); in isl_surf_init_s()
1428 if (!isl_choose_msaa_layout(dev, info, tiling, &msaa_layout)) in isl_surf_init_s()
1432 isl_choose_image_alignment_el(dev, info, tiling, dim_layout, msaa_layout, in isl_surf_init_s()
1439 isl_calc_phys_level0_extent_sa(dev, info, dim_layout, tiling, msaa_layout, in isl_surf_init_s()
1462 if (tiling == ISL_TILING_LINEAR) { in isl_surf_init_s()
1521 .tiling = tiling, in isl_surf_init_s()
1548 isl_tiling_get_info(surf->tiling, fmtl->bpb, tile_info); in isl_surf_get_tile_info()
1721 if (!isl_tiling_is_any_y(surf->tiling)) in isl_surf_get_ccs_surf()
1731 } else if (surf->tiling == ISL_TILING_Y0) { in isl_surf_get_ccs_surf()
1739 } else if (surf->tiling == ISL_TILING_X) { in isl_surf_get_ccs_surf()
1994 isl_tiling_get_info(surf->tiling, fmtl->bpb, &tile_info); in get_image_offset_sa_gen6_stencil_hiz()
2160 isl_tiling_get_intratile_offset_el(surf->tiling, fmtl->bpb, in isl_surf_get_image_offset_B_tile_sa()
2218 .tiling_flags = (1 << surf->tiling)); in isl_surf_get_image_surf()
2223 isl_tiling_get_intratile_offset_el(enum isl_tiling tiling, in isl_tiling_get_intratile_offset_el() argument
2232 if (tiling == ISL_TILING_LINEAR) { in isl_tiling_get_intratile_offset_el()
2242 isl_tiling_get_info(tiling, bpb, &tile_info); in isl_tiling_get_intratile_offset_el()