Searched refs:mem_obj (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 1243 struct kfd_mem_obj **mem_obj) in kfd_gtt_sa_allocate() argument 1254 *mem_obj = kzalloc(sizeof(struct kfd_mem_obj), GFP_KERNEL); in kfd_gtt_sa_allocate() 1255 if (!(*mem_obj)) in kfd_gtt_sa_allocate() 1258 pr_debug("Allocated mem_obj = %p for size = %d\n", *mem_obj, size); in kfd_gtt_sa_allocate() 1277 (*mem_obj)->range_start = found; in kfd_gtt_sa_allocate() 1278 (*mem_obj)->range_end = found; in kfd_gtt_sa_allocate() 1279 (*mem_obj)->gpu_addr = kfd_gtt_sa_calc_gpu_addr( in kfd_gtt_sa_allocate() 1283 (*mem_obj)->cpu_ptr = kfd_gtt_sa_calc_cpu_addr( in kfd_gtt_sa_allocate() 1289 (uint64_t *) (*mem_obj)->gpu_addr, (*mem_obj)->cpu_ptr); in kfd_gtt_sa_allocate() 1301 (*mem_obj)->range_end = in kfd_gtt_sa_allocate() [all …]
|
D | kfd_priv.h | 1117 struct kfd_mem_obj **mem_obj); 1119 int kfd_gtt_sa_free(struct kfd_node *node, struct kfd_mem_obj *mem_obj);
|
D | kfd_device_queue_manager.c | 2776 struct kfd_mem_obj *mem_obj = &dqm->hiq_sdma_mqd; in allocate_hiq_sdma_mqd() local 2784 &(mem_obj->gtt_mem), &(mem_obj->gpu_addr), in allocate_hiq_sdma_mqd() 2785 (void *)&(mem_obj->cpu_ptr), false); in allocate_hiq_sdma_mqd()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd.c | 296 void **mem_obj, uint64_t *gpu_addr, in amdgpu_amdkfd_alloc_gtt_mem() argument 349 *mem_obj = bo; in amdgpu_amdkfd_alloc_gtt_mem() 367 void amdgpu_amdkfd_free_gtt_mem(struct amdgpu_device *adev, void **mem_obj) in amdgpu_amdkfd_free_gtt_mem() argument 369 struct amdgpu_bo **bo = (struct amdgpu_bo **) mem_obj; in amdgpu_amdkfd_free_gtt_mem() 379 void **mem_obj) in amdgpu_amdkfd_alloc_gws() argument 403 *mem_obj = bo; in amdgpu_amdkfd_alloc_gws() 407 void amdgpu_amdkfd_free_gws(struct amdgpu_device *adev, void *mem_obj) in amdgpu_amdkfd_free_gws() argument 409 struct amdgpu_bo *bo = (struct amdgpu_bo *)mem_obj; in amdgpu_amdkfd_free_gws()
|
D | amdgpu_amdkfd.h | 236 void **mem_obj, uint64_t *gpu_addr, 238 void amdgpu_amdkfd_free_gtt_mem(struct amdgpu_device *adev, void **mem_obj); 240 void **mem_obj); 241 void amdgpu_amdkfd_free_gws(struct amdgpu_device *adev, void *mem_obj);
|
/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_free_list.c | 285 sgt = drm_gem_shmem_get_pages_sgt(&free_list_node->mem_obj->base); in pvr_free_list_insert_node_locked() 320 free_list_node->mem_obj = pvr_gem_object_create(pvr_dev, in pvr_free_list_grow() 324 if (IS_ERR(free_list_node->mem_obj)) { in pvr_free_list_grow() 325 err = PTR_ERR(free_list_node->mem_obj); in pvr_free_list_grow() 349 pvr_gem_object_put(free_list_node->mem_obj); in pvr_free_list_grow() 397 pvr_gem_object_put(free_list_node->mem_obj); in pvr_free_list_free_node()
|
D | pvr_free_list.h | 41 struct pvr_gem_object *mem_obj; member
|
/linux-6.12.1/drivers/infiniband/sw/siw/ |
D | siw_mem.c | 81 int siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj, in siw_mr_add_mem() argument 92 mem->mem_obj = mem_obj; in siw_mr_add_mem() 138 if (!mem->is_mw && mem->mem_obj) { in siw_free_mem()
|
D | siw_mem.h | 23 int siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj,
|
D | siw_qp_tx.c | 66 if (!mem->mem_obj) { in siw_try_1seg() 471 is_kva = mem->mem_obj == NULL ? 1 : 0; in siw_tx_hdt()
|
D | siw.h | 157 void *mem_obj; member
|
D | siw_qp_rx.c | 413 if (mem_p->mem_obj == NULL) in siw_rx_data()
|