Home
last modified time | relevance | path

Searched refs:vm_pd (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c604 struct amdgpu_bo_list_entry *vm_pd; /* Array of VM BO list entries */ member
639 ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), GFP_KERNEL); in reserve_bo_and_vm()
640 if (!ctx->vm_pd) in reserve_bo_and_vm()
648 amdgpu_vm_get_pd_bo(vm, &ctx->list, &ctx->vm_pd[0]); in reserve_bo_and_vm()
654 kfree(ctx->vm_pd); in reserve_bo_and_vm()
655 ctx->vm_pd = NULL; in reserve_bo_and_vm()
684 ctx->vm_pd = NULL; in reserve_bo_and_cond_vms()
700 ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), in reserve_bo_and_cond_vms()
702 if (!ctx->vm_pd) in reserve_bo_and_cond_vms()
719 &ctx->vm_pd[i]); in reserve_bo_and_cond_vms()
[all …]
Damdgpu_gem.c149 struct amdgpu_bo_list_entry vm_pd; in amdgpu_gem_object_close() local
164 amdgpu_vm_get_pd_bo(vm, &list, &vm_pd); in amdgpu_gem_object_close()
597 struct amdgpu_bo_list_entry vm_pd; in amdgpu_gem_va_ioctl() local
669 amdgpu_vm_get_pd_bo(&fpriv->vm, &list, &vm_pd); in amdgpu_gem_va_ioctl()
Damdgpu.h513 struct amdgpu_bo_list_entry vm_pd; member
Damdgpu_cs.c546 amdgpu_vm_get_pd_bo(&fpriv->vm, &p->validated, &p->vm_pd); in amdgpu_cs_parser_bos()