Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
H A Ddrm_gpuvm.c829 __restore_vm_bo_list(struct drm_gpuvm *gpuvm, spinlock_t *lock, in __restore_vm_bo_list() argument
871 __drm_gpuvm_bo_list_add(struct drm_gpuvm *gpuvm, spinlock_t *lock, in __drm_gpuvm_bo_list_add() argument
921 __drm_gpuvm_bo_list_del(struct drm_gpuvm *gpuvm, spinlock_t *lock, in __drm_gpuvm_bo_list_del() argument
976 static int __drm_gpuva_insert(struct drm_gpuvm *gpuvm,
989 drm_gpuvm_warn_check_overflow(struct drm_gpuvm *gpuvm, u64 addr, u64 range) in drm_gpuvm_warn_check_overflow() argument
991 return drm_WARN(gpuvm->drm, drm_gpuvm_check_overflow(addr, range), in drm_gpuvm_warn_check_overflow()
996 drm_gpuvm_in_mm_range(struct drm_gpuvm *gpuvm, u64 addr, u64 range) in drm_gpuvm_in_mm_range() argument
999 u64 mm_start = gpuvm->mm_start; in drm_gpuvm_in_mm_range()
1000 u64 mm_end = mm_start + gpuvm->mm_range; in drm_gpuvm_in_mm_range()
1006 drm_gpuvm_in_kernel_node(struct drm_gpuvm *gpuvm, u64 addr, u64 range) in drm_gpuvm_in_kernel_node() argument
[all …]
/linux/drivers/gpu/drm/xe/
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()
325 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, &job->drm.s_fence->finished, in xe_exec_ioctl()
H A Dxe_vm.c48 return vm->gpuvm.r_obj; in xe_vm_obj()
211 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, q->lr.pfence, in resume_and_reinstall_preempt_fences()
219 .vm = &vm->gpuvm, in xe_vm_add_compute_exec_queue()
249 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, pfence, in xe_vm_add_compute_exec_queue()
380 ret = drm_gpuvm_validate(&vm->gpuvm, exec); in xe_vm_validate_rebind()
387 } while (!list_empty(&vm->gpuvm.evict.list)); in xe_vm_validate_rebind()
403 err = drm_gpuvm_prepare_vm(&vm->gpuvm, exec, 0); in xe_preempt_work_begin()
418 err = drm_gpuvm_prepare_objects(&vm->gpuvm, exec, 0); in xe_preempt_work_begin()
1106 vma->gpuva.vm = &vm->gpuvm; in xe_vma_create()
1282 gpuva = drm_gpuva_find_first(&vm->gpuvm, start, range); in xe_vm_find_overlapping_vma()
[all …]
H A Dxe_vm_types.h211 struct drm_gpuvm gpuvm; member
H A Dxe_vm_madvise.c62 drm_gpuvm_for_each_va_range(gpuva, &vm->gpuvm, addr, addr + range) { in get_vmas()
429 drm_gpuvm_for_each_va_range(gpuva, &vm->gpuvm, start, end) { in xe_zap_ptes_in_madvise_range()
/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
H A Ddisplay_mode_vba.c882 …mode_lib->vba.GPUVMEnable = mode_lib->vba.GPUVMEnable || !!pipes[k].pipe.src.gpuvm || !!pipes[k].p… in fetch_pipe_params()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c1865 nouveau_uvmm_free(struct drm_gpuvm *gpuvm) in nouveau_uvmm_free() argument
1867 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.c1661 pipes[i].pipe.src.gpuvm = 1; in dcn31x_populate_dml_pipes_from_context()
1706 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn31_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c1891 static void panthor_vm_free(struct drm_gpuvm *gpuvm) in panthor_vm_free() argument
1893 struct panthor_vm *vm = container_of(gpuvm, struct panthor_vm, base); in panthor_vm_free()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1959 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn32_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c2170 pipes[i].pipe.src.gpuvm = 1; in dcn21_populate_dml_pipes_from_context()