Home
last modified time | relevance | path

Searched refs:utile_w (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_tiling.c80 uint32_t utile_w = vc5_utile_width(cpp); in vc5_get_utile_pixel_offset() local
83 assert(x < utile_w && y < utile_h); in vc5_get_utile_pixel_offset()
85 return x * cpp + y * utile_w * cpp; in vc5_get_utile_pixel_offset()
96 uint32_t utile_w = vc5_utile_width(cpp); in vc5_get_lt_pixel_offset() local
98 uint32_t utile_index_x = x / utile_w; in vc5_get_lt_pixel_offset()
105 x & (utile_w - 1), in vc5_get_lt_pixel_offset()
119 uint32_t utile_w = vc5_utile_width(cpp); in vc5_get_ublinear_pixel_offset() local
121 uint32_t ub_w = utile_w * 2; in vc5_get_ublinear_pixel_offset()
128 ((x & utile_w) ? 64 : 0) + in vc5_get_ublinear_pixel_offset()
131 x & (utile_w - 1), in vc5_get_ublinear_pixel_offset()
[all …]
Dvc5_resource.c339 uint32_t utile_w = vc5_utile_width(rsc->cpp); in vc5_setup_slices() local
341 uint32_t uif_block_w = utile_w * 2; in vc5_setup_slices()
377 (level_width <= utile_w || in vc5_setup_slices()
380 level_width = align(level_width, utile_w); in vc5_setup_slices()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_tiling_lt.c261 uint32_t utile_w = vc4_utile_width(cpp); in NEON_TAG() local
267 for (int x = 0; x < box->width; x += utile_w) { in NEON_TAG()
271 (xstart + x) * 64 / utile_w), in NEON_TAG()
282 uint32_t utile_w = vc4_utile_width(cpp); in NEON_TAG() local
288 for (int x = 0; x < box->width; x += utile_w) { in NEON_TAG()
290 (xstart + x) * 64 / utile_w), in NEON_TAG()
Dvc4_tiling.c136 uint32_t utile_w = vc4_utile_width(cpp); in vc4_t_image_helper() local
138 uint32_t utile_w_shift = ffs(utile_w) - 1; in vc4_t_image_helper()
140 uint32_t stile_w = 4 * utile_w; in vc4_t_image_helper()
143 uint32_t utile_stride = gpu_stride / cpp / utile_w; in vc4_t_image_helper()
Dvc4_resource.c278 uint32_t utile_w = vc4_utile_width(rsc->cpp); in vc4_resource_transfer_map() local
307 uint32_t box_start_x = ptrans->box.x & (utile_w - 1); in vc4_resource_transfer_map()
321 if (ptrans->box.width & (utile_w - 1)) { in vc4_resource_transfer_map()
329 ptrans->box.width = align(ptrans->box.width, utile_w); in vc4_resource_transfer_map()
448 uint32_t utile_w = vc4_utile_width(rsc->cpp); in vc4_setup_slices() local
470 level_width = align(level_width, utile_w); in vc4_setup_slices()
476 level_width = align(level_width, utile_w); in vc4_setup_slices()
481 4 * 2 * utile_w); in vc4_setup_slices()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c155 uint32_t utile_w = utile_width(cpp); in vc4_check_tex_size() local
172 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
176 aligned_width = round_up(width, utile_w * 8); in vc4_check_tex_size()
180 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
571 uint32_t cpp, tiling_format, utile_w, utile_h; in reloc_tex() local
659 utile_w = utile_width(cpp); in reloc_tex()
693 aligned_width = round_up(level_width, utile_w * 8); in reloc_tex()
697 aligned_width = round_up(level_width, utile_w); in reloc_tex()
701 aligned_width = round_up(level_width, utile_w); in reloc_tex()