Lines Matching refs:fmtl

1916    const struct isl_format_layout *fmtl = isl_format_get_layout(fmt);
1918 return fmtl->txc != ISL_TXC_NONE;
1952 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt);
1954 return fmtl->txc == ISL_TXC_MCS;
1960 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt);
1962 return fmtl->txc == ISL_TXC_HIZ;
1977 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt);
1979 return fmtl->colorspace == ISL_COLORSPACE_YUV;
1985 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt);
1987 return fmtl->bw == 1 && fmtl->bh == 1 && fmtl->bd == 1;
2004 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt);
2006 return fmtl->channels.r.bits > 0 &&
2007 fmtl->channels.g.bits > 0 &&
2008 fmtl->channels.b.bits > 0 &&
2009 fmtl->channels.a.bits == 0;
2015 const struct isl_format_layout *fmtl = isl_format_get_layout(fmt);
2017 return fmtl->channels.r.bits > 0 &&
2018 fmtl->channels.g.bits > 0 &&
2019 fmtl->channels.b.bits > 0 &&
2020 fmtl->channels.a.bits > 0 &&
2021 fmtl->channels.a.type == ISL_VOID;
2530 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2532 return isl_extent3d(fmtl->bw * surf->image_alignment_el.w,
2533 fmtl->bh * surf->image_alignment_el.h,
2534 fmtl->bd * surf->image_alignment_el.d);
2543 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2545 return isl_extent4d(DIV_ROUND_UP(surf->logical_level0_px.w, fmtl->bw),
2546 DIV_ROUND_UP(surf->logical_level0_px.h, fmtl->bh),
2547 DIV_ROUND_UP(surf->logical_level0_px.d, fmtl->bd),
2557 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2559 return isl_extent4d(DIV_ROUND_UP(surf->phys_level0_sa.w, fmtl->bw),
2560 DIV_ROUND_UP(surf->phys_level0_sa.h, fmtl->bh),
2561 DIV_ROUND_UP(surf->phys_level0_sa.d, fmtl->bd),
2580 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2582 assert(surf->row_pitch_B % (fmtl->bpb / 8) == 0);
2583 return surf->row_pitch_B / (fmtl->bpb / 8);
2611 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format);
2612 return fmtl->bh * isl_surf_get_array_pitch_el_rows(surf);
2856 const struct isl_format_layout *fmtl = isl_format_get_layout(format);
2862 assert(total_x_offset_sa % fmtl->bw == 0);
2863 assert(total_y_offset_sa % fmtl->bh == 0);
2864 assert(total_z_offset_sa % fmtl->bd == 0);
2865 const uint32_t total_x_offset_el = total_x_offset_sa / fmtl->bw;
2866 const uint32_t total_y_offset_el = total_y_offset_sa / fmtl->bh;
2867 const uint32_t total_z_offset_el = total_z_offset_sa / fmtl->bd;
2869 isl_tiling_get_intratile_offset_el(tiling, dim, msaa_layout, fmtl->bpb,
2879 *x_offset_sa *= fmtl->bw;
2880 *y_offset_sa *= fmtl->bh;
2881 *z_offset_sa *= fmtl->bd;