Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c617 struct amdgpu_bo_list_entry *vm_pd; /* Array of VM BO list entries */ member
652 ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), GFP_KERNEL); in reserve_bo_and_vm()
653 if (!ctx->vm_pd) in reserve_bo_and_vm()
661 amdgpu_vm_get_pd_bo(vm, &ctx->list, &ctx->vm_pd[0]); in reserve_bo_and_vm()
667 kfree(ctx->vm_pd); in reserve_bo_and_vm()
668 ctx->vm_pd = NULL; in reserve_bo_and_vm()
697 ctx->vm_pd = NULL; in reserve_bo_and_cond_vms()
713 ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), in reserve_bo_and_cond_vms()
715 if (!ctx->vm_pd) in reserve_bo_and_cond_vms()
732 &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()
599 struct amdgpu_bo_list_entry vm_pd; in amdgpu_gem_va_ioctl() local
671 amdgpu_vm_get_pd_bo(&fpriv->vm, &list, &vm_pd); in amdgpu_gem_va_ioctl()
Damdgpu.h512 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()