Lines Matching refs:aspace
703 msm_gem_unpin_iova(&msm_obj->base, submit->aspace); in retire_submit()
787 msm_gem_get_and_pin_iova(&msm_obj->base, submit->aspace, &iova); in msm_gpu_submit()
837 struct msm_gem_address_space *aspace = NULL; in msm_gpu_create_private_address_space() local
846 aspace = gpu->funcs->create_private_address_space(gpu); in msm_gpu_create_private_address_space()
847 if (!IS_ERR(aspace)) in msm_gpu_create_private_address_space()
848 aspace->pid = get_pid(task_pid(task)); in msm_gpu_create_private_address_space()
851 if (IS_ERR_OR_NULL(aspace)) in msm_gpu_create_private_address_space()
852 aspace = msm_gem_address_space_get(gpu->aspace); in msm_gpu_create_private_address_space()
854 return aspace; in msm_gpu_create_private_address_space()
930 gpu->aspace = gpu->funcs->create_address_space(gpu, pdev); in msm_gpu_init()
932 if (gpu->aspace == NULL) in msm_gpu_init()
934 else if (IS_ERR(gpu->aspace)) { in msm_gpu_init()
935 ret = PTR_ERR(gpu->aspace); in msm_gpu_init()
941 check_apriv(gpu, MSM_BO_UNCACHED), gpu->aspace, &gpu->memptrs_bo, in msm_gpu_init()
983 msm_gem_kernel_put(gpu->memptrs_bo, gpu->aspace, false); in msm_gpu_init()
1002 msm_gem_kernel_put(gpu->memptrs_bo, gpu->aspace, false); in msm_gpu_cleanup()
1004 if (!IS_ERR_OR_NULL(gpu->aspace)) { in msm_gpu_cleanup()
1005 gpu->aspace->mmu->funcs->detach(gpu->aspace->mmu); in msm_gpu_cleanup()
1006 msm_gem_address_space_put(gpu->aspace); in msm_gpu_cleanup()