Home
last modified time | relevance | path

Searched refs:nbx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Devergreen_cs.c173 unsigned nbx; member
195 surf->layer_size = surf->nbx * surf->nby * surf->bpe * surf->nsamples; in evergreen_surface_check_linear()
210 surf->layer_size = surf->nbx * surf->nby * surf->bpe * surf->nsamples; 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()
233 surf->layer_size = surf->nbx * surf->nby * surf->bpe; 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()
273 mtile_pr = surf->nbx / palign; in evergreen_surface_check_2d()
280 if ((surf->nbx & (palign - 1))) { in evergreen_surface_check_2d()
[all …]
H A Dr600_cs.c632 unsigned nbx, nby; in r600_cs_track_validate_db() local
645 nbx = pitch; in r600_cs_track_validate_db()
649 nbx = round_up(nbx, 16 * 8); in r600_cs_track_validate_db()
660 nbx = round_up(nbx, 64 * 8); in r600_cs_track_validate_db()
665 nbx = round_up(nbx, 64 * 8); in r600_cs_track_validate_db()
670 nbx = round_up(nbx, 32 * 8); in r600_cs_track_validate_db()
675 nbx = round_up(nbx, 32 * 8); in r600_cs_track_validate_db()
685 nbx = nbx >> 3; in r600_cs_track_validate_db()
688 size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); in r600_cs_track_validate_db()
694 size, nbx, nby); in r600_cs_track_validate_db()
[all …]