Home
last modified time | relevance | path

Searched refs:alloc_buffer (Results 1 – 3 of 3) sorted by relevance

/external/libdrm/amdgpu/
Damdgpu_bo.c80 struct amdgpu_bo_alloc_request *alloc_buffer, in amdgpu_bo_alloc() argument
85 unsigned heap = alloc_buffer->preferred_heap; in amdgpu_bo_alloc()
98 bo->alloc_size = alloc_buffer->alloc_size; in amdgpu_bo_alloc()
101 args.in.bo_size = alloc_buffer->alloc_size; in amdgpu_bo_alloc()
102 args.in.alignment = alloc_buffer->phys_alignment; in amdgpu_bo_alloc()
106 args.in.domain_flags = alloc_buffer->flags; in amdgpu_bo_alloc()
Damdgpu.h555 struct amdgpu_bo_alloc_request *alloc_buffer,
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c173 struct amdgpu_bo_alloc_request alloc_buffer = {}; in amdgpu_ctx_create() local
188 alloc_buffer.alloc_size = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
189 alloc_buffer.phys_alignment = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
190 alloc_buffer.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_ctx_create()
192 r = amdgpu_bo_alloc(ctx->ws->dev, &alloc_buffer, &buf_handle); in amdgpu_ctx_create()
204 memset(ctx->user_fence_cpu_address_base, 0, alloc_buffer.alloc_size); in amdgpu_ctx_create()