Lines Matching refs:npix_x

168     surflevel->npix_x = mip_minify(surf->npix_x, level);  in surf_minify()
171 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in surf_minify()
440 if (surf->npix_x > 8192 || surf->npix_y > 8192 || surf->npix_z > 8192) { in r6_surface_init()
577 surflevel->npix_x = mip_minify(surf->npix_x, level); in eg_surf_minify()
580 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in eg_surf_minify()
707 if (surf->npix_x > 16384 || surf->npix_y > 16384 || surf->npix_z > 16384) { in eg_surface_sanity()
1286 if (surf->npix_x > 16384 || surf->npix_y > 16384 || surf->npix_z > 16384) { in si_surface_sanity()
1421 surflevel->npix_x = surf->npix_x; in si_surf_minify()
1423 surflevel->npix_x = mip_minify(next_power_of_two(surf->npix_x), level); in si_surf_minify()
1429 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
1433 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
1471 surflevel->npix_x = surf->npix_x; in si_surf_minify_2d()
1473 surflevel->npix_x = mip_minify(next_power_of_two(surf->npix_x), level); in si_surf_minify_2d()
1479 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()
1483 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()
2114 if (surf->npix_x > 16384 || surf->npix_y > 16384 || surf->npix_z > 16384) { in cik_surface_sanity()
2469 if (!surf->npix_x || !surf->npix_y || !surf->npix_z) { in radeon_surface_sanity()