Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_bo.c79 struct amdgpu_bo_alloc_request *alloc_buffer, in amdgpu_bo_alloc() argument
86 args.in.bo_size = alloc_buffer->alloc_size; in amdgpu_bo_alloc()
87 args.in.alignment = alloc_buffer->phys_alignment; in amdgpu_bo_alloc()
90 args.in.domains = alloc_buffer->preferred_heap; in amdgpu_bo_alloc()
91 args.in.domain_flags = alloc_buffer->flags; in amdgpu_bo_alloc()
100 r = amdgpu_bo_create(dev, alloc_buffer->alloc_size, args.out.handle, in amdgpu_bo_alloc()
Damdgpu.h569 struct amdgpu_bo_alloc_request *alloc_buffer,
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c287 struct amdgpu_bo_alloc_request alloc_buffer = {}; in amdgpu_ctx_create() local
303 alloc_buffer.alloc_size = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
304 alloc_buffer.phys_alignment = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
305 alloc_buffer.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_ctx_create()
307 r = amdgpu_bo_alloc(ctx->ws->dev, &alloc_buffer, &buf_handle); in amdgpu_ctx_create()
319 memset(ctx->user_fence_cpu_address_base, 0, alloc_buffer.alloc_size); in amdgpu_ctx_create()