Searched refs:utile_w (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/broadcom/common/ |
D | v3d_tiling.c | 79 uint32_t utile_w = v3d_utile_width(cpp); in v3d_get_utile_pixel_offset() local 81 assert(x < utile_w && y < v3d_utile_height(cpp)); in v3d_get_utile_pixel_offset() 83 return x * cpp + y * utile_w * cpp; in v3d_get_utile_pixel_offset() 94 uint32_t utile_w = v3d_utile_width(cpp); in v3d_get_lt_pixel_offset() local 96 uint32_t utile_index_x = x / utile_w; in v3d_get_lt_pixel_offset() 103 x & (utile_w - 1), in v3d_get_lt_pixel_offset() 117 uint32_t utile_w = v3d_utile_width(cpp); in v3d_get_ublinear_pixel_offset() local 119 uint32_t ub_w = utile_w * 2; in v3d_get_ublinear_pixel_offset() 126 ((x & utile_w) ? 64 : 0) + in v3d_get_ublinear_pixel_offset() 129 x & (utile_w - 1), in v3d_get_ublinear_pixel_offset() [all …]
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_tiling.c | 127 uint32_t utile_w = vc4_utile_width(cpp); in vc4_t_image_helper() local 129 uint32_t utile_w_shift = ffs(utile_w) - 1; in vc4_t_image_helper() 131 uint32_t stile_w = 4 * utile_w; in vc4_t_image_helper() 134 uint32_t utile_stride = gpu_stride / cpp / utile_w; in vc4_t_image_helper()
|
D | vc4_tiling_lt.c | 140 uint32_t utile_w = vc4_utile_width(cpp); in vc4_lt_image_aligned() local 147 for (uint32_t x = 0; x < box->width; x += utile_w) { in vc4_lt_image_aligned() 149 (xstart + x) * 64 / utile_w); in vc4_lt_image_aligned()
|
D | vc4_resource.c | 380 uint32_t utile_w = vc4_utile_width(rsc->cpp); in vc4_setup_slices() local 402 level_width = align(level_width, utile_w); in vc4_setup_slices() 408 level_width = align(level_width, utile_w); in vc4_setup_slices() 413 4 * 2 * utile_w); in vc4_setup_slices()
|
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_validate.c | 155 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()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_image.c | 92 uint32_t utile_w = v3d_utile_width(image->cpp); in v3d_setup_slices() local 94 uint32_t uif_block_w = utile_w * 2; in v3d_setup_slices() 142 (level_width <= utile_w || level_height <= utile_h)) { in v3d_setup_slices() 144 level_width = align(level_width, utile_w); in v3d_setup_slices()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_resource.c | 543 uint32_t utile_w = v3d_utile_width(rsc->cpp); in v3d_setup_slices() local 545 uint32_t uif_block_w = utile_w * 2; in v3d_setup_slices() 592 (level_width <= utile_w || in v3d_setup_slices() 595 level_width = align(level_width, utile_w); in v3d_setup_slices()
|