Searched refs:stack_bottom (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_allocate.h68 int stack_bottom; member in struct:panfrost_memory
92 mali_ptr pandev_upload(int cheating_offset, int *stack_bottom, mali_ptr base, void *base_map, const void *data, size_t sz, bool no_pad);
111 mem->stack_bottom += sz;
112 return mem->gpu + (mem->stack_bottom - sz);
H A Dpan_allocate.c146 pandev_upload(int cheating_offset, int *stack_bottom, mali_ptr base, void *base_map, const void *data, size_t sz, bool no_pad) argument
159 if (!stack_bottom)
160 stack_bottom = &hack_stack_bottom;
165 offset = pandev_allocate_offset(stack_bottom, padded_size);
168 *stack_bottom = offset + sz;
195 if ((mem->stack_bottom + sz) >= mem->size) {
196 printf("Out of memory, tried to upload %zd but only %zd available\n", sz, mem->size - mem->stack_bottom);
200 return pandev_upload(-1, &mem->stack_bottom, mem->gpu, mem->cpu, data, sz, no_pad);
206 return pandev_upload(last_offset, &mem->stack_bottom, mem->gpu, mem->cpu, data, sz, true);
216 int offset = pandev_allocate_offset(&mem->stack_bottom, s
[all...]
H A Dpan_drm.c75 mem->stack_bottom = 0;

Completed in 6 milliseconds