Lines Matching refs:fmtl
1461 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in tile_extents() local
1462 const unsigned cpp = fmtl->bpb / 8; in tile_extents()
1464 assert(box->x % fmtl->bw == 0); in tile_extents()
1465 assert(box->y % fmtl->bh == 0); in tile_extents()
1470 *x1_B = (box->x / fmtl->bw + x0_el) * cpp; in tile_extents()
1471 *y1_el = box->y / fmtl->bh + y0_el; in tile_extents()
1472 *x2_B = (DIV_ROUND_UP(box->x + box->width, fmtl->bw) + x0_el) * cpp; in tile_extents()
1473 *y2_el = DIV_ROUND_UP(box->y + box->height, fmtl->bh) + y0_el; in tile_extents()
1568 const struct isl_format_layout *fmtl = in crocus_map_direct() local
1570 const unsigned cpp = fmtl->bpb / 8; in crocus_map_direct()
1573 assert(box->x % fmtl->bw == 0); in crocus_map_direct()
1574 assert(box->y % fmtl->bh == 0); in crocus_map_direct()
1577 x0_el += box->x / fmtl->bw; in crocus_map_direct()
1578 y0_el += box->y / fmtl->bh; in crocus_map_direct()
1696 const struct isl_format_layout *fmtl = isl_format_get_layout(surf->format); in crocus_transfer_map() local
1697 if (fmtl->txc == ISL_TXC_ASTC) in crocus_transfer_map()