Lines Matching refs:fmtl

570    const struct isl_format_layout *fmtl = isl_format_get_layout(format);
573 if (fmtl->channels.c.bits && value.u32[i] != 0) \
590 const struct isl_format_layout *fmtl = isl_format_get_layout(format);
593 if (fmtl->channels.c.bits && value.field[i] != 0 && value.field[i] != 1) \
860 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
861 if (fmtl->txc == ISL_TXC_MCS) {
873 } else if (fmtl->txc == ISL_TXC_HIZ) {
919 *image_align_el = isl_extent3d(16 / fmtl->bw, 16 / fmtl->bh, 1);
1020 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1075 assert(fmtl->bw == 1 && fmtl->bh == 1);
1108 if (fmtl->bd > 1) {
1157 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1200 pitch_sa_rows = isl_align_npot(pitch_sa_rows, fmtl->bh);
1205 assert(pitch_sa_rows % fmtl->bh == 0);
1206 uint32_t pitch_el_rows = pitch_sa_rows / fmtl->bh;
1209 fmtl->txc == ISL_TXC_CCS) {
1230 assert(fmtl->bh == 4);
1333 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1347 .w = isl_align_div_npot(phys_slice0_sa.w, fmtl->bw),
1348 .h = isl_align_div_npot(phys_slice0_sa.h, fmtl->bh),
1349 .d = isl_align_div_npot(phys_level0_sa->d, fmtl->bd),
1354 .w = isl_align_div_npot(phys_slice0_sa.w, fmtl->bw),
1356 isl_align_div_npot(phys_slice0_sa.h, fmtl->bh),
1376 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1420 isl_align_npot(phys_level0_sa->h, image_align_sa->h) / fmtl->bw;
1422 .w = isl_assert_div(total_w, fmtl->bw),
1423 .h = isl_assert_div(total_h, fmtl->bh),
1443 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1446 .w = tile_info->logical_extent_el.w * fmtl->bw,
1447 .h = tile_info->logical_extent_el.h * fmtl->bh,
1483 isl_assert_div(isl_align(H0, image_align_sa->h), fmtl->bh);
1485 .w = isl_assert_div(MAX(total_top_w, total_bottom_w), fmtl->bw),
1486 .h = isl_assert_div(total_h, fmtl->bh),
1505 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1510 assert(image_align_sa->w >= fmtl->bw);
1524 .w = isl_assert_div(slice_w, fmtl->bw),
1626 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format);
1627 const uint32_t bs = fmtl->bpb / 8;
1670 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1671 const uint32_t bs = fmtl->bpb / 8;
1683 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format);
1685 assert(fmtl->bpb % tile_info->format_bpb == 0);
1687 const uint32_t tile_el_scale = fmtl->bpb / tile_info->format_bpb;
1813 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1834 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb,
1884 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 4);
1886 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 8);
2011 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2012 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb,
2615 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2623 .w = tile_info.logical_extent_el.w * fmtl->bw,
2624 .h = tile_info.logical_extent_el.h * fmtl->bh,
2640 assert(surf->array_pitch_el_rows == isl_assert_div(H, fmtl->bh));
2763 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2779 *x_offset_el = x_offset_sa / fmtl->bw;
2780 *y_offset_el = y_offset_sa / fmtl->bh;
2781 *z_offset_el = z_offset_sa / fmtl->bd;
2793 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2804 *x_offset_sa = x_offset_el * fmtl->bw;
2810 *y_offset_sa = y_offset_el * fmtl->bh;
2825 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2838 surf->msaa_layout, fmtl->bpb,
2875 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2876 const uint32_t subimage_w_el = isl_align_div_npot(subimage_w_sa, fmtl->bw);
2877 const uint32_t subimage_h_el = isl_align_div_npot(subimage_h_sa, fmtl->bh);
2889 surf->msaa_layout, fmtl->bpb,
2904 surf->msaa_layout, fmtl->bpb,
2977 const struct isl_format_layout *fmtl =
2981 assert(fmtl->bw > 1 || fmtl->bh > 1 || fmtl->bd > 1);
2984 assert(isl_format_get_layout(view->format)->bpb == fmtl->bpb);
2993 const uint32_t view_width_el = isl_align_div_npot(view_width_px, fmtl->bw);
2994 const uint32_t view_height_el = isl_align_div_npot(view_height_px, fmtl->bh);
2997 assert(fmtl->bd == 1);