Searched refs:bpe (Results 1 - 5 of 5) sorted by relevance

/external/libdrm/radeon/
H A Dradeon_surface.c164 unsigned bpe, unsigned level,
186 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples;
275 xalign = MAX2(1, surf_man->hw_info.group_bytes / surf->bpe);
279 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign);
285 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset);
306 xalign = MAX2(64, surf_man->hw_info.group_bytes / surf->bpe);
313 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset);
332 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples);
337 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign);
346 surf_minify(surf, surf->level+i, surf->bpe,
162 surf_minify(struct radeon_surface *surf, struct radeon_surface_level *surflevel, unsigned bpe, unsigned level, uint32_t xalign, uint32_t yalign, uint32_t zalign, unsigned offset) argument
565 eg_surf_minify(struct radeon_surface *surf, struct radeon_surface_level *surflevel, unsigned bpe, unsigned level, unsigned slice_pt, unsigned mtilew, unsigned mtileh, unsigned mtileb, unsigned offset) argument
606 eg_surface_init_1d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, uint64_t offset, unsigned start_level) argument
647 eg_surface_init_2d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, unsigned tile_split, uint64_t offset, unsigned start_level) argument
1414 si_surf_minify(struct radeon_surface *surf, struct radeon_surface_level *surflevel, unsigned bpe, unsigned level, uint32_t xalign, uint32_t yalign, uint32_t zalign, uint32_t slice_align, unsigned offset) argument
1461 si_surf_minify_2d(struct radeon_surface *surf, struct radeon_surface_level *surflevel, unsigned bpe, unsigned level, unsigned slice_pt, uint32_t xalign, uint32_t yalign, uint32_t zalign, unsigned mtileb, unsigned offset) argument
1542 si_surface_init_1d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, unsigned tile_mode, uint64_t offset, unsigned start_level) argument
1609 si_surface_init_2d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, unsigned tile_mode, unsigned num_pipes, unsigned num_banks, unsigned tile_split, uint64_t offset, unsigned start_level) argument
1849 cik_get_2d_params(struct radeon_surface_manager *surf_man, unsigned bpe, unsigned nsamples, bool is_color, unsigned tile_mode, uint32_t *num_pipes, uint32_t *tile_split_ptr, uint32_t *num_banks, uint32_t *macro_tile_aspect, uint32_t *bank_w, uint32_t *bank_h) argument
2206 cik_surface_init_2d(struct radeon_surface_manager *surf_man, struct radeon_surface *surf, struct radeon_surface_level *level, unsigned bpe, unsigned tile_mode, unsigned tile_split, unsigned num_pipes, unsigned num_banks, uint64_t offset, unsigned start_level) argument
[all...]
H A Dradeon_surface.h119 uint32_t bpe; member in struct:radeon_surface
/external/drm_gralloc/
H A Dgralloc_drm_radeon.c81 static int radeon_get_pitch_align(struct radeon_info *info, int bpe, uint32_t tiling) argument
88 pitch_align = (((info->group_bytes / 8) / bpe) *
94 pitch_align = MAX(8, (info->group_bytes / (8 * bpe)));
96 pitch_align = MAX(info->group_bytes / bpe, pitch_align);
100 pitch_align = MAX(64, info->group_bytes / bpe);
113 pitch_align = 256 / bpe;
146 int bpe, uint32_t tiling)
148 int pixel_align = radeon_get_pitch_align(info, bpe, tiling);
154 base_align = MAX(info->num_banks * info->num_channels * 8 * 8 * bpe,
155 pixel_align * bpe * height_alig
145 radeon_get_base_align(struct radeon_info *info, int bpe, uint32_t tiling) argument
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_texture.c93 surface->bpe = 4; /* stencil is allocated separately on evergreen */
95 surface->bpe = util_format_get_blocksize(ptex->format);
97 if (surface->bpe == 3) {
98 surface->bpe = 4;
178 rtex->surface.level[0].nblk_x = pitch_in_bytes_override / rtex->surface.bpe;
262 * Here we use bpe in the units of bits, not bytes. */
271 fmask.bpe = 4;
275 fmask.bpe = 8;
279 fmask.bpe = 16;
289 fmask.bpe *
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_texture.c88 surface->bpe = util_format_get_blocksize(ptex->format);
90 if (surface->bpe == 3) {
91 surface->bpe = 4;
168 rtex->surface.level[0].nblk_x = pitch_in_bytes_override / rtex->surface.bpe;

Completed in 152 milliseconds