Lines Matching refs:palign

186 	unsigned	palign;  member
197 surf->palign = 1; in evergreen_surface_check_linear()
207 unsigned palign; in evergreen_surface_check_linear_aligned() local
209 palign = MAX(64, track->group_size / surf->bpe); in evergreen_surface_check_linear_aligned()
212 surf->palign = palign; in evergreen_surface_check_linear_aligned()
214 if (surf->nbx & (palign - 1)) { in evergreen_surface_check_linear_aligned()
217 __func__, __LINE__, prefix, surf->nbx, palign); in evergreen_surface_check_linear_aligned()
229 unsigned palign; in evergreen_surface_check_1d() local
231 palign = track->group_size / (8 * surf->bpe * surf->nsamples); in evergreen_surface_check_1d()
232 palign = MAX(8, palign); in evergreen_surface_check_1d()
235 surf->palign = palign; in evergreen_surface_check_1d()
237 if ((surf->nbx & (palign - 1))) { in evergreen_surface_check_1d()
240 __func__, __LINE__, prefix, surf->nbx, palign, in evergreen_surface_check_1d()
260 unsigned palign, halign, tileb, slice_pt; in evergreen_surface_check_2d() local
270 palign = (8 * surf->bankw * track->npipes) * surf->mtilea; in evergreen_surface_check_2d()
272 mtileb = (palign / 8) * (halign / 8) * tileb; in evergreen_surface_check_2d()
273 mtile_pr = surf->nbx / palign; in evergreen_surface_check_2d()
276 surf->base_align = (palign / 8) * (halign / 8) * tileb; in evergreen_surface_check_2d()
277 surf->palign = palign; in evergreen_surface_check_2d()
280 if ((surf->nbx & (palign - 1))) { in evergreen_surface_check_2d()
283 __func__, __LINE__, prefix, surf->nbx, palign); in evergreen_surface_check_2d()
885 if (surf.nbx < surf.palign || surf.nby < surf.halign) { in evergreen_cs_track_validate_texture()
900 surf.nbx = ALIGN(surf.nbx, surf.palign); in evergreen_cs_track_validate_texture()