Lines Matching refs:nblk_y

172     surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h;  in surf_minify()
176 if (surflevel->nblk_x < xalign || surflevel->nblk_y < yalign) { in surf_minify()
182 surflevel->nblk_y = ALIGN(surflevel->nblk_y, yalign); in surf_minify()
187 surflevel->slice_size = (uint64_t)surflevel->pitch_bytes * surflevel->nblk_y; in surf_minify()
581 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in eg_surf_minify()
585 if (surflevel->nblk_x < mtilew || surflevel->nblk_y < mtileh) { in eg_surf_minify()
591 surflevel->nblk_y = ALIGN(surflevel->nblk_y, mtileh); in eg_surf_minify()
597 mtile_ps = (mtile_pr * surflevel->nblk_y) / mtileh; in eg_surf_minify()
1430 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify()
1434 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in si_surf_minify()
1438 surflevel->nblk_y = ALIGN(surflevel->nblk_y, yalign); in si_surf_minify()
1449 xalign = MAX2(xalign, slice_align / bpe / surflevel->nblk_y); in si_surf_minify()
1456 surflevel->slice_size = ALIGN((uint64_t)surflevel->pitch_bytes * surflevel->nblk_y, in si_surf_minify()
1480 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d()
1484 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d()
1490 if (surflevel->nblk_x < xalign || surflevel->nblk_y < yalign) { in si_surf_minify_2d()
1496 surflevel->nblk_y = ALIGN(surflevel->nblk_y, yalign); in si_surf_minify_2d()
1502 mtile_ps = (mtile_pr * surflevel->nblk_y) / yalign; in si_surf_minify_2d()