/third_party/mesa3d/src/panfrost/lib/ |
D | pan_cs.h | 129 return util_next_power_of_two(dim->x) * in pan_wls_instances() 130 util_next_power_of_two(dim->y) * in pan_wls_instances() 131 util_next_power_of_two(dim->z); in pan_wls_instances() 137 return util_next_power_of_two(MAX2(wls_size, 128)); in pan_wls_adjust_size()
|
D | pan_tiler.c | 341 best_w = MAX2(best_w, util_next_power_of_two(width / 63)); in panfrost_choose_tile_size() 342 best_h = MAX2(best_h, util_next_power_of_two(height / 63)); in panfrost_choose_tile_size()
|
D | pan_scratch.c | 84 util_next_power_of_two(ALIGN_POT(thread_size, 16)); in panfrost_get_total_stack_size()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 96 return util_next_power_of_two(util_format_get_stride(format, width)); in get_pot_stride() 328 unsigned width = util_next_power_of_two(pt->width0); in i9x5_texture_layout_cube() 365 unsigned width = util_next_power_of_two(pt->width0); in i915_texture_layout_2d() 366 unsigned height = util_next_power_of_two(pt->height0); in i915_texture_layout_2d() 394 unsigned width = util_next_power_of_two(pt->width0); in i915_texture_layout_3d() 395 unsigned height = util_next_power_of_two(pt->height0); in i915_texture_layout_3d() 396 unsigned depth = util_next_power_of_two(pt->depth0); in i915_texture_layout_3d() 430 tex->total_nblocksy = stack_nblocksy * util_next_power_of_two(pt->depth0); in i915_texture_layout_3d() 469 unsigned width = util_next_power_of_two(pt->width0); in i945_texture_layout_2d() 470 unsigned height = util_next_power_of_two(pt->height0); in i945_texture_layout_2d() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_decoder.c | 83 temp.width = pot_buffers ? util_next_power_of_two(width) : align(width, VL_MACROBLOCK_WIDTH); in vl_create_decoder() 84 temp.height = pot_buffers ? util_next_power_of_two(height) : align(height, VL_MACROBLOCK_HEIGHT); in vl_create_decoder()
|
D | vl_video_buffer.c | 368 templat.width = pot_buffers ? util_next_power_of_two(tmpl->width) in vl_video_buffer_create() 370 templat.height = pot_buffers ? util_next_power_of_two(tmpl->height) in vl_video_buffer_create()
|
/third_party/mesa3d/src/util/ |
D | u_vector.h | 69 initial_element_count = util_next_power_of_two(initial_element_count); in u_vector_init() 70 element_size = util_next_power_of_two(element_size); in u_vector_init()
|
D | u_cpu_detect.c | 524 core_count = util_next_power_of_two(core_count); in get_cpu_topology() 536 unsigned local_l3_cache_index = local_core_id / util_next_power_of_two(cores_per_L3); in get_cpu_topology()
|
/third_party/mesa3d/src/asahi/lib/ |
D | pool.c | 85 assert(alignment == util_next_power_of_two(alignment)); in agx_pool_alloc_aligned() 111 return agx_pool_upload_aligned(pool, data, sz, util_next_power_of_two(sz)); in agx_pool_upload()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_test_dma.c | 232 tsrc.width0 = util_next_power_of_two(tsrc.width0); in r600_test_dma() 233 tsrc.height0 = util_next_power_of_two(tsrc.height0); in r600_test_dma() 250 tdst.width0 = util_next_power_of_two(tdst.width0); in r600_test_dma() 251 tdst.height0 = util_next_power_of_two(tdst.height0); in r600_test_dma()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 164 height = util_next_power_of_two(height); in r300_texture_get_nblocksy() 593 tex->tex.width0 = util_next_power_of_two(tex->tex.width0); in r300_texture_desc_init() 594 tex->tex.height0 = util_next_power_of_two(tex->tex.height0); in r300_texture_desc_init() 595 tex->tex.depth0 = util_next_power_of_two(tex->tex.depth0); in r300_texture_desc_init()
|
/third_party/mesa3d/src/freedreno/fdl/ |
D | fd6_layout.c | 184 ubwc_width0 = util_next_power_of_two(width0); in fdl6_layout() 185 ubwc_height0 = util_next_power_of_two(height0); in fdl6_layout()
|
D | freedreno_layout.h | 176 pitch = util_next_power_of_two(pitch); in fdl2_pitch()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_resource.c | 47 nblocksy = util_next_power_of_two(nblocksy); in fd2_setup_slices()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_image.c | 72 util_next_power_of_two(image->vk.extent.width); in pvr_image_init_physical_extent() 74 util_next_power_of_two(image->vk.extent.height); in pvr_image_init_physical_extent() 76 util_next_power_of_two(image->vk.extent.depth); in pvr_image_init_physical_extent()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_resource.c | 45 height = util_next_power_of_two(height); in setup_slices()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer_util.c | 54 .min_alloc_size = util_next_power_of_two(min_alloc_size), in vn_renderer_shmem_pool_init()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_shader.h | 128 return MAX2(1024, util_next_power_of_two(size)); in brw_get_scratch_size()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_screen.c | 943 screen->cur_tls_space = util_next_power_of_two(tls_space / ONE_TEMP_SIZE) * in nv50_tls_alloc() 947 util_next_power_of_two(tls_space / ONE_TEMP_SIZE)); in nv50_tls_alloc() 948 *tls_size = screen->cur_tls_space * util_next_power_of_two(screen->TPs) * in nv50_tls_alloc() 1159 stack_size = util_next_power_of_two(screen->TPs) * screen->MPsInTP * in nv50_screen_create() 1169 uint64_t size_of_one_temp = util_next_power_of_two(screen->TPs) * in nv50_screen_create()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_image.c | 87 uint32_t pot_width = 2 * util_next_power_of_two(u_minify(width, 1)); in v3d_setup_slices() 88 uint32_t pot_height = 2 * util_next_power_of_two(u_minify(height, 1)); in v3d_setup_slices() 89 uint32_t pot_depth = 2 * util_next_power_of_two(u_minify(depth, 1)); in v3d_setup_slices()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_mempool.c | 77 assert(alignment == util_next_power_of_two(alignment)); in panvk_pool_alloc_aligned()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_mempool.c | 126 assert(alignment == util_next_power_of_two(alignment)); in panfrost_pool_alloc_aligned()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_resource.c | 75 u_minify(util_next_power_of_two(prsc->depth0), i); in v3d_debug_resource_layout() 540 uint32_t pot_width = 2 * util_next_power_of_two(u_minify(width, 1)); in v3d_setup_slices() 541 uint32_t pot_height = 2 * util_next_power_of_two(u_minify(height, 1)); in v3d_setup_slices() 542 uint32_t pot_depth = 2 * util_next_power_of_two(u_minify(depth, 1)); in v3d_setup_slices()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 84 msaa_mode = util_next_power_of_two(st->ctx->Const.MaxFramebufferSamples); in framebuffer_quantize_num_samples()
|
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
D | subpicture.c | 309 tex_templ.width0 = util_next_power_of_two(width); in XvMCCreateSubpicture() 310 tex_templ.height0 = util_next_power_of_two(height); in XvMCCreateSubpicture()
|