Lines Matching defs:fmtl
329 const struct isl_format_layout *fmtl = isl_format_get_layout(format);
332 if (fmtl->channels.c.bits && value.u32[i] != 0) \
349 const struct isl_format_layout *fmtl = isl_format_get_layout(format);
352 if (fmtl->channels.c.bits && value.field[i] != 0 && value.field[i] != 1) \
611 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
612 if (fmtl->txc == ISL_TXC_MCS) {
730 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
785 assert(fmtl->bw == 1 && fmtl->bh == 1);
818 if (fmtl->bd > 1) {
867 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
910 pitch_sa_rows = isl_align_npot(pitch_sa_rows, fmtl->bh);
915 assert(pitch_sa_rows % fmtl->bh == 0);
916 uint32_t pitch_el_rows = pitch_sa_rows / fmtl->bh;
918 if (ISL_DEV_GEN(dev) >= 9 && fmtl->txc == ISL_TXC_CCS) {
937 assert(fmtl->bh == 4);
1040 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1052 .w = isl_align_div_npot(phys_slice0_sa.w, fmtl->bw),
1054 isl_align_div_npot(phys_slice0_sa.h, fmtl->bh),
1071 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1115 isl_align_npot(phys_level0_sa->h, image_align_sa->h) / fmtl->bw;
1117 .w = isl_assert_div(total_w, fmtl->bw),
1118 .h = isl_assert_div(total_h, fmtl->bh),
1136 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1139 .w = tile_info->logical_extent_el.w * fmtl->bw,
1140 .h = tile_info->logical_extent_el.h * fmtl->bh,
1176 isl_assert_div(isl_align(H0, image_align_sa->h), fmtl->bh);
1178 .w = isl_assert_div(MAX(total_top_w, total_bottom_w), fmtl->bw),
1179 .h = isl_assert_div(total_h, fmtl->bh),
1196 MAYBE_UNUSED const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1201 assert(image_align_sa->w >= fmtl->bw);
1215 .w = isl_assert_div(slice_w, fmtl->bw),
1290 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format);
1291 const uint32_t bs = fmtl->bpb / 8;
1310 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1311 const uint32_t bs = fmtl->bpb / 8;
1323 const struct isl_format_layout *fmtl = isl_format_get_layout(surf_info->format);
1325 assert(fmtl->bpb % tile_info->format_bpb == 0);
1327 const uint32_t tile_el_scale = fmtl->bpb / tile_info->format_bpb;
1442 const struct isl_format_layout *fmtl = isl_format_get_layout(info->format);
1456 isl_tiling_get_info(tiling, fmtl->bpb, &tile_info);
1509 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 4);
1511 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 8);
1591 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
1592 isl_tiling_get_info(surf->tiling, fmtl->bpb, tile_info);
2037 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2043 isl_tiling_get_info(surf->tiling, fmtl->bpb, &tile_info);
2045 .w = tile_info.logical_extent_el.w * fmtl->bw,
2046 .h = tile_info.logical_extent_el.h * fmtl->bh,
2062 assert(surf->array_pitch_el_rows == isl_assert_div(H, fmtl->bh));
2173 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2187 *x_offset_el = x_offset_sa / fmtl->bw;
2188 *y_offset_el = y_offset_sa / fmtl->bh;
2200 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2209 isl_tiling_get_intratile_offset_el(surf->tiling, fmtl->bpb,
2218 *x_offset_sa = x_offset_el * fmtl->bw;
2224 *y_offset_sa = y_offset_el * fmtl->bh;