Lines Matching refs:npix_x
173 surflevel->npix_x = mip_minify(surf->npix_x, level); in surf_minify()
176 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in surf_minify()
445 if (surf->npix_x > 8192 || surf->npix_y > 8192 || surf->npix_z > 8192) { in r6_surface_init()
582 surflevel->npix_x = mip_minify(surf->npix_x, level); in eg_surf_minify()
585 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in eg_surf_minify()
712 if (surf->npix_x > 16384 || surf->npix_y > 16384 || surf->npix_z > 16384) { in eg_surface_sanity()
1293 if (surf->npix_x > 16384 || surf->npix_y > 16384 || surf->npix_z > 16384) { in si_surface_sanity()
1428 surflevel->npix_x = surf->npix_x; in si_surf_minify()
1430 surflevel->npix_x = mip_minify(next_power_of_two(surf->npix_x), level); in si_surf_minify()
1436 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
1440 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
1478 surflevel->npix_x = surf->npix_x; in si_surf_minify_2d()
1480 surflevel->npix_x = mip_minify(next_power_of_two(surf->npix_x), level); in si_surf_minify_2d()
1486 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()
1490 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()
2121 if (surf->npix_x > 16384 || surf->npix_y > 16384 || surf->npix_z > 16384) { in cik_surface_sanity()
2476 if (!surf->npix_x || !surf->npix_y || !surf->npix_z) { in radeon_surface_sanity()