Lines Matching refs:nsamples
179 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in surf_minify()
191 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in surf_minify()
337 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
372 (tilew * surf->bpe * surf->nsamples); in r6_surface_init_2d()
384 surf->nsamples * surf->bpe * 64, in r6_surface_init_2d()
385 xalign * yalign * surf->nsamples * surf->bpe); in r6_surface_init_2d()
411 if (surf->nsamples > 1) { in r6_surface_init()
435 if (surf->nsamples > 1) { in r6_surface_init()
588 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in eg_surf_minify()
605 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in eg_surf_minify()
622 xalign = surf_man->hw_info.group_bytes / (tilew * bpe * surf->nsamples); in eg_surface_init_1d()
666 tileb = tilew * tileh * bpe * surf->nsamples; in eg_surface_init_2d()
723 if (surf->nsamples > 1) { in eg_surface_sanity()
779 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_sanity()
840 if (surf->nsamples > 1) { in eg_surface_init()
922 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
943 if (surf->nsamples > 1) { in eg_surface_best()
945 switch (surf->nsamples) { in eg_surface_best()
960 surf->nsamples, __LINE__); in eg_surface_best()
990 tileb = MIN2(surf->tile_split, 64 * surf->nsamples); in eg_surface_best()
992 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
1305 if (surf->nsamples > 1) { in si_surface_sanity()
1314 if (surf->nsamples > 1 && mode != RADEON_SURF_MODE_2D) { in si_surface_sanity()
1330 switch (surf->nsamples) { in si_surface_sanity()
1351 switch (surf->nsamples) { in si_surface_sanity()
1462 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify()
1495 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in si_surf_minify_2d()
1511 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify_2d()
1635 tileb = tilew * tileh * bpe * surf->nsamples; in si_surface_init_2d()
1732 if (surf->nsamples > 1) { in si_surface_init()
1858 unsigned bpe, unsigned nsamples, bool is_color, in cik_get_2d_params() argument
1948 tileb = MIN2(tile_split, nsamples * tileb_1x); in cik_get_2d_params()
2133 if (surf->nsamples > 1) { in cik_surface_sanity()
2142 if (surf->nsamples > 1 && mode != RADEON_SURF_MODE_2D) { in cik_surface_sanity()
2158 switch (surf->nsamples) { in cik_surface_sanity()
2176 cik_get_2d_params(surf_man, 1, surf->nsamples, false, in cik_surface_sanity()
2188 cik_get_2d_params(surf_man, surf->bpe, surf->nsamples, in cik_surface_sanity()
2236 tileb = surf->nsamples * tileb_1x; in cik_surface_init_2d()
2310 cik_get_2d_params(surf_man, surf->bpe, surf->nsamples, in cik_surface_init_2d_miptrees()
2336 if (surf->nsamples > 1) { in cik_surface_init()
2488 switch (surf->nsamples) { in radeon_surface_sanity()