Home
last modified time | relevance | path

Searched refs:mem_ctx (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_psp.h475 struct ta_mem_context *mem_ctx);
476 void psp_ta_free_shared_buf(struct ta_mem_context *mem_ctx);
H A Damdgpu_psp.c241 void psp_ta_free_shared_buf(struct ta_mem_context *mem_ctx) in psp_ta_free_shared_buf() argument
243 amdgpu_bo_free_kernel(&mem_ctx->shared_bo, &mem_ctx->shared_mc_addr, in psp_ta_free_shared_buf()
244 &mem_ctx->shared_buf); in psp_ta_free_shared_buf()
245 mem_ctx->shared_bo = NULL; in psp_ta_free_shared_buf()
1140 struct ta_mem_context *mem_ctx) in psp_ta_init_shared_buf() argument
1146 return amdgpu_bo_create_kernel(psp->adev, mem_ctx->shared_mem_size, in psp_ta_init_shared_buf()
1149 &mem_ctx->shared_bo, in psp_ta_init_shared_buf()
1150 &mem_ctx->shared_mc_addr, in psp_ta_init_shared_buf()
1151 &mem_ctx->shared_buf); in psp_ta_init_shared_buf()