Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_bo.c53 struct amdgpu_bo_alloc_request *alloc_buffer, in amdgpu_bo_alloc() argument
58 unsigned heap = alloc_buffer->preferred_heap; in amdgpu_bo_alloc()
71 bo->alloc_size = alloc_buffer->alloc_size; in amdgpu_bo_alloc()
74 args.in.bo_size = alloc_buffer->alloc_size; in amdgpu_bo_alloc()
75 args.in.alignment = alloc_buffer->phys_alignment; in amdgpu_bo_alloc()
79 args.in.domain_flags = alloc_buffer->flags; in amdgpu_bo_alloc()
Damdgpu.h563 struct amdgpu_bo_alloc_request *alloc_buffer,
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c264 struct amdgpu_bo_alloc_request alloc_buffer = {}; in amdgpu_ctx_create() local
280 alloc_buffer.alloc_size = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
281 alloc_buffer.phys_alignment = ctx->ws->info.gart_page_size; in amdgpu_ctx_create()
282 alloc_buffer.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_ctx_create()
284 r = amdgpu_bo_alloc(ctx->ws->dev, &alloc_buffer, &buf_handle); in amdgpu_ctx_create()
296 memset(ctx->user_fence_cpu_address_base, 0, alloc_buffer.alloc_size); in amdgpu_ctx_create()