Home
last modified time | relevance | path

Searched refs:gpuvm (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_vm.h43 drm_gpuvm_get(&vm->gpuvm); in xe_vm_get()
49 drm_gpuvm_put(&vm->gpuvm); in xe_vm_put()
94 * @gpuvm: The struct drm_gpuvm pointer
98 static inline struct xe_vm *gpuvm_to_vm(struct drm_gpuvm *gpuvm) in gpuvm_to_vm() argument
100 return container_of(gpuvm, struct xe_vm, gpuvm); in gpuvm_to_vm()
150 return container_of(vma->gpuva.vm, struct xe_vm, gpuvm); in xe_vma_vm()
303 return drm_gpuvm_resv(&vm->gpuvm); in xe_vm_resv()
H A Dxe_exec.c101 struct xe_vm *vm = container_of(vm_exec->vm, struct xe_vm, gpuvm); in xe_exec_fn()
269 vm_exec.vm = &vm->gpuvm; in xe_exec_ioctl()
335 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, &job->drm.s_fence->finished, in xe_exec_ioctl()
H A Dxe_vm.c51 return vm->gpuvm.r_obj;
230 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, q->lr.pfence, in resume_and_reinstall_preempt_fences()
238 .vm = &vm->gpuvm, in xe_vm_add_compute_exec_queue()
268 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, pfence, in xe_vm_add_compute_exec_queue()
282 !list_empty(&vm->gpuvm.evict.list) || in xe_vm_add_compute_exec_queue()
405 ret = drm_gpuvm_validate(&vm->gpuvm, exec); in xe_vm_validate_rebind()
412 } while (!list_empty(&vm->gpuvm.evict.list));
441 if (!drm_gpuvm_is_extobj(&vm->gpuvm, obj)) in xe_preempt_work_begin()
455 err = drm_gpuvm_prepare_vm(&vm->gpuvm, exec, 0); in xe_preempt_work_begin()
470 err = drm_gpuvm_prepare_objects(&vm->gpuvm, exe in xe_preempt_work_begin()
2050 xe_vm_free(struct drm_gpuvm * gpuvm) xe_vm_free() argument
[all...]
H A Dxe_vm_madvise.c62 drm_gpuvm_for_each_va_range(gpuva, &vm->gpuvm, addr, addr + range) { in get_vmas()
287 drm_gpuvm_for_each_va_range(gpuva, &vm->gpuvm, start, end) { in xe_zap_ptes_in_madvise_range()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_vma.c159 msm_gem_vm_free(struct drm_gpuvm *gpuvm) in msm_gem_vm_free() argument
161 struct msm_gem_vm *vm = container_of(gpuvm, struct msm_gem_vm, base); in msm_gem_vm_free()
174 * @gpuvm: the VM to mark unusable
177 msm_gem_vm_unusable(struct drm_gpuvm *gpuvm) in msm_gem_vm_unusable() argument
179 struct msm_gem_vm *vm = to_msm_vm(gpuvm); in msm_gem_vm_unusable()
368 msm_gem_vma_new(struct drm_gpuvm *gpuvm, struct drm_gem_object *obj, in msm_gem_vma_new() argument
371 struct msm_gem_vm *vm = to_msm_vm(gpuvm); in msm_gem_vma_new()
378 GEM_WARN_ON(obj->resv != drm_gpuvm_resv(gpuvm))) { in msm_gem_vma_new()
899 * @gpuvm: The VM to close
906 msm_gem_vm_close(struct drm_gpuvm *gpuvm) in msm_gem_vm_close() argument
[all...]
H A Dmsm_gem.h163 void msm_gem_vm_close(struct drm_gpuvm *gpuvm);
164 void msm_gem_vm_unusable(struct drm_gpuvm *gpuvm);
/linux/drivers/gpu/drm/imagination/
H A Dpvr_vm.c70 struct pvr_vm_context *to_pvr_vm_context(struct drm_gpuvm *gpuvm) in to_pvr_vm_context() argument
72 return container_of(gpuvm, struct pvr_vm_context, gpuvm_mgr); in to_pvr_vm_context()
507 static void pvr_gpuvm_free(struct drm_gpuvm *gpuvm) in pvr_gpuvm_free() argument
509 kfree(to_pvr_vm_context(gpuvm)); in pvr_gpuvm_free()
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_structs.h392 bool gpuvm; // gpuvm enabled member
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c1878 nouveau_uvmm_free(struct drm_gpuvm *gpuvm) in nouveau_uvmm_free() argument
1880 struct nouveau_uvmm *uvmm = uvmm_from_gpuvm(gpuvm); in nouveau_uvmm_free()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1789 pipes[i].pipe.src.gpuvm = 1; in dcn31x_populate_dml_pipes_from_context()
1834 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn31_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c2033 static void panthor_vm_free(struct drm_gpuvm *gpuvm)
2035 struct panthor_vm *vm = container_of(gpuvm, struct panthor_vm, base); in panthor_vm_free()
2506 * mess up with the internal gpuvm lists, but we do walk the in panthor_vm_evict_bo_mappings_locked()
2034 panthor_vm_free(struct drm_gpuvm * gpuvm) panthor_vm_free() argument
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c2109 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn32_populate_dml_pipes_from_context()
/linux/
H A DMAINTAINERS9281 F: rust/kernel/drm/gpuvm/