Lines Matching defs:fmtl

540    const struct isl_format_layout *fmtl = isl_format_get_layout(format);
543 if (fmtl->channels.c.bits && value.u32[i] != 0) \
560 const struct isl_format_layout *fmtl = isl_format_get_layout(format);
563 if (fmtl->channels.c.bits && value.field[i] != 0 && value.field[i] != 1) \
830 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
831 if (fmtl->txc == ISL_TXC_MCS) {
961 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1016 assert(fmtl->bw == 1 && fmtl->bh == 1);
1049 if (fmtl->bd > 1) {
1098 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1141 pitch_sa_rows = isl_align_npot(pitch_sa_rows, fmtl->bh);
1146 assert(pitch_sa_rows % fmtl->bh == 0);
1147 uint32_t pitch_el_rows = pitch_sa_rows / fmtl->bh;
1150 fmtl->txc == ISL_TXC_CCS) {
1171 assert(fmtl->bh == 4);
1274 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1288 .w = isl_align_div_npot(phys_slice0_sa.w, fmtl->bw),
1289 .h = isl_align_div_npot(phys_slice0_sa.h, fmtl->bh),
1290 .d = isl_align_div_npot(phys_level0_sa->d, fmtl->bd),
1295 .w = isl_align_div_npot(phys_slice0_sa.w, fmtl->bw),
1297 isl_align_div_npot(phys_slice0_sa.h, fmtl->bh),
1317 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1361 isl_align_npot(phys_level0_sa->h, image_align_sa->h) / fmtl->bw;
1363 .w = isl_assert_div(total_w, fmtl->bw),
1364 .h = isl_assert_div(total_h, fmtl->bh),
1384 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1387 .w = tile_info->logical_extent_el.w * fmtl->bw,
1388 .h = tile_info->logical_extent_el.h * fmtl->bh,
1424 isl_assert_div(isl_align(H0, image_align_sa->h), fmtl->bh);
1426 .w = isl_assert_div(MAX(total_top_w, total_bottom_w), fmtl->bw),
1427 .h = isl_assert_div(total_h, fmtl->bh),
1446 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1451 assert(image_align_sa->w >= fmtl->bw);
1465 .w = isl_assert_div(slice_w, fmtl->bw),
1564 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format);
1565 const uint32_t bs = fmtl->bpb / 8;
1608 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1609 const uint32_t bs = fmtl->bpb / 8;
1621 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format);
1623 assert(fmtl->bpb % tile_info->format_bpb == 0);
1625 const uint32_t tile_el_scale = fmtl->bpb / tile_info->format_bpb;
1743 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1764 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb,
1814 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 4);
1816 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 8);
1941 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
1942 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb,
2596 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2604 .w = tile_info.logical_extent_el.w * fmtl->bw,
2605 .h = tile_info.logical_extent_el.h * fmtl->bh,
2621 assert(surf->array_pitch_el_rows == isl_assert_div(H, fmtl->bh));
2744 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2760 *x_offset_el = x_offset_sa / fmtl->bw;
2761 *y_offset_el = y_offset_sa / fmtl->bh;
2762 *z_offset_el = z_offset_sa / fmtl->bd;
2774 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2785 *x_offset_sa = x_offset_el * fmtl->bw;
2791 *y_offset_sa = y_offset_el * fmtl->bh;
2806 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2819 surf->msaa_layout, fmtl->bpb,
2856 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2857 const uint32_t subimage_w_el = isl_align_div_npot(subimage_w_sa, fmtl->bw);
2858 const uint32_t subimage_h_el = isl_align_div_npot(subimage_h_sa, fmtl->bh);
2870 surf->msaa_layout, fmtl->bpb,
2885 surf->msaa_layout, fmtl->bpb,
2958 const struct isl_format_layout *fmtl =
2962 assert(fmtl->bw > 1 || fmtl->bh > 1 || fmtl->bd > 1);
2965 assert(isl_format_get_layout(view->format)->bpb == fmtl->bpb);
2974 const uint32_t view_width_el = isl_align_div_npot(view_width_px, fmtl->bw);
2975 const uint32_t view_height_el = isl_align_div_npot(view_height_px, fmtl->bh);
2978 assert(fmtl->bd == 1);