Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_gpuvm.c758 __restore_vm_bo_list(struct drm_gpuvm *gpuvm, spinlock_t *lock, in __restore_vm_bo_list() argument
800 __drm_gpuvm_bo_list_add(struct drm_gpuvm *gpuvm, spinlock_t *lock, in __drm_gpuvm_bo_list_add() argument
825 __drm_gpuvm_bo_list_del(struct drm_gpuvm *gpuvm, spinlock_t *lock, in __drm_gpuvm_bo_list_del() argument
880 static int __drm_gpuva_insert(struct drm_gpuvm *gpuvm,
893 drm_gpuvm_warn_check_overflow(struct drm_gpuvm *gpuvm, u64 addr, u64 range) in drm_gpuvm_warn_check_overflow() argument
895 return drm_WARN(gpuvm->drm, drm_gpuvm_check_overflow(addr, range), in drm_gpuvm_warn_check_overflow()
900 drm_gpuvm_in_mm_range(struct drm_gpuvm *gpuvm, u64 addr, u64 range) in drm_gpuvm_in_mm_range() argument
903 u64 mm_start = gpuvm->mm_start; in drm_gpuvm_in_mm_range()
904 u64 mm_end = mm_start + gpuvm->mm_range; in drm_gpuvm_in_mm_range()
910 drm_gpuvm_in_kernel_node(struct drm_gpuvm *gpuvm, u64 addr, u64 range) in drm_gpuvm_in_kernel_node() argument
[all …]
Ddrm_debugfs.c204 struct drm_gpuvm *gpuvm) in drm_debugfs_gpuva_info() argument
206 struct drm_gpuva *va, *kva = &gpuvm->kernel_alloc_node; in drm_debugfs_gpuva_info()
208 if (!gpuvm->name) in drm_debugfs_gpuva_info()
212 gpuvm->name, gpuvm->mm_start, gpuvm->mm_start + gpuvm->mm_range); in drm_debugfs_gpuva_info()
218 drm_gpuvm_for_each_va(va, gpuvm) { in drm_debugfs_gpuva_info()
/drivers/gpu/drm/xe/
Dxe_vm.h34 drm_gpuvm_get(&vm->gpuvm); in xe_vm_get()
40 drm_gpuvm_put(&vm->gpuvm); in xe_vm_put()
84 static inline struct xe_vm *gpuvm_to_vm(struct drm_gpuvm *gpuvm) in gpuvm_to_vm() argument
86 return container_of(gpuvm, struct xe_vm, gpuvm); in gpuvm_to_vm()
136 return container_of(vma->gpuva.vm, struct xe_vm, gpuvm); in xe_vma_vm()
259 return drm_gpuvm_resv(&vm->gpuvm); in xe_vm_resv()
Dxe_exec.c99 struct xe_vm *vm = container_of(vm_exec->vm, struct xe_vm, gpuvm); in xe_exec_fn()
240 vm_exec.vm = &vm->gpuvm; in xe_exec_ioctl()
306 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, &job->drm.s_fence->finished, in xe_exec_ioctl()
Dxe_vm.c46 return vm->gpuvm.r_obj; in xe_vm_obj()
216 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, q->lr.pfence, in resume_and_reinstall_preempt_fences()
224 .vm = &vm->gpuvm, in xe_vm_add_compute_exec_queue()
253 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, pfence, in xe_vm_add_compute_exec_queue()
425 ret = drm_gpuvm_validate(&vm->gpuvm, exec); in xe_vm_validate_rebind()
432 } while (!list_empty(&vm->gpuvm.evict.list)); in xe_vm_validate_rebind()
448 err = drm_gpuvm_prepare_vm(&vm->gpuvm, exec, 0); in xe_preempt_work_begin()
463 err = drm_gpuvm_prepare_objects(&vm->gpuvm, exec, 0); in xe_preempt_work_begin()
1004 vma->gpuva.vm = &vm->gpuvm; in xe_vma_create()
1204 gpuva = drm_gpuva_find_first(&vm->gpuvm, start, range); in xe_vm_find_overlapping_vma()
[all …]
Dxe_vm_types.h144 struct drm_gpuvm gpuvm; member
/drivers/gpu/drm/imagination/
Dpvr_vm.c69 struct pvr_vm_context *to_pvr_vm_context(struct drm_gpuvm *gpuvm) in to_pvr_vm_context() argument
71 return container_of(gpuvm, struct pvr_vm_context, gpuvm_mgr); in to_pvr_vm_context()
501 static void pvr_gpuvm_free(struct drm_gpuvm *gpuvm) in pvr_gpuvm_free() argument
503 kfree(to_pvr_vm_context(gpuvm)); in pvr_gpuvm_free()
/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h392 bool gpuvm; // gpuvm enabled member
Ddisplay_mode_lib.c188 dml_print("DML PARAMS: gpuvm = %d\n", pipe_src->gpuvm); in dml_log_pipe_params()
Ddisplay_mode_vba.c882 …mode_lib->vba.GPUVMEnable = mode_lib->vba.GPUVMEnable || !!pipes[k].pipe.src.gpuvm || !!pipes[k].p… in fetch_pipe_params()
/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_rq_dlg_calc_32.c401 if (src->dynamic_metadata_enable && src->gpuvm) in dml32_rq_dlg_get_dlg_reg()
/drivers/gpu/drm/nouveau/
Dnouveau_uvmm.c1794 nouveau_uvmm_free(struct drm_gpuvm *gpuvm) in nouveau_uvmm_free() argument
1796 struct nouveau_uvmm *uvmm = uvmm_from_gpuvm(gpuvm); in nouveau_uvmm_free()
/drivers/gpu/drm/amd/display/dc/resource/dcn31/
Ddcn31_resource.c1630 pipes[i].pipe.src.gpuvm = 1; in dcn31x_populate_dml_pipes_from_context()
1675 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn31_populate_dml_pipes_from_context()
/drivers/gpu/drm/panthor/
Dpanthor_mmu.c1839 static void panthor_vm_free(struct drm_gpuvm *gpuvm) in panthor_vm_free() argument
1841 struct panthor_vm *vm = container_of(gpuvm, struct panthor_vm, base); in panthor_vm_free()
/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c1276 if (src->dynamic_metadata_enable && src->gpuvm) in dml_rq_dlg_get_dlg_params()
/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c1428 if (src->dynamic_metadata_enable && src->gpuvm) { in dml_rq_dlg_get_dlg_params()
/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c1364 if (src->dynamic_metadata_enable && src->gpuvm) in dml_rq_dlg_get_dlg_params()
/drivers/gpu/drm/amd/display/dc/resource/dcn32/
Ddcn32_resource.c1883 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn32_populate_dml_pipes_from_context()
/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c2171 pipes[i].pipe.src.gpuvm = 1; in dcn21_populate_dml_pipes_from_context()