Lines Matching refs:fmtl
1447 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents() local
1448 const unsigned cpp = fmtl->bpb / 8; in tile_extents()
1450 assert(box->x % fmtl->bw == 0); in tile_extents()
1451 assert(box->y % fmtl->bh == 0); in tile_extents()
1456 *x1_B = (box->x / fmtl->bw + x0_el) * cpp; in tile_extents()
1457 *y1_el = box->y / fmtl->bh + y0_el; in tile_extents()
1458 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp; in tile_extents()
1459 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el; in tile_extents()
1554 const struct isl_format_layout *fmtl = in crocus_map_direct() local
1556 const unsigned cpp = fmtl->bpb / 8; in crocus_map_direct()
1559 assert(box->x % fmtl->bw == 0); in crocus_map_direct()
1560 assert(box->y % fmtl->bh == 0); in crocus_map_direct()
1563 x0_el += box->x / fmtl->bw; in crocus_map_direct()
1564 y0_el += box->y / fmtl->bh; in crocus_map_direct()
1683 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in crocus_transfer_map() local
1684 if (fmtl->txc == ISL_TXC_ASTC) in crocus_transfer_map()