Home
last modified time | relevance | path

Searched refs:drm_exec (Results 1 – 25 of 28) sorted by relevance

12

/linux/include/drm/
H A Ddrm_exec.h17 struct drm_exec { struct
63 drm_exec_obj(struct drm_exec *exec, unsigned long index) in drm_exec_obj()
133 static inline bool drm_exec_is_contended(struct drm_exec *exec) in drm_exec_is_contended()
138 void drm_exec_init(struct drm_exec *exec, u32 flags, unsigned nr);
139 void drm_exec_fini(struct drm_exec *exec);
140 bool drm_exec_cleanup(struct drm_exec *exec);
141 int drm_exec_lock_obj(struct drm_exec *exec, struct drm_gem_object *obj);
142 void drm_exec_unlock_obj(struct drm_exec *exec, struct drm_gem_object *obj);
143 int drm_exec_prepare_obj(struct drm_exec *exec, struct drm_gem_object *obj,
145 int drm_exec_prepare_array(struct drm_exec *exec,
H A Ddrm_gpuvm.h516 struct drm_exec exec;
553 struct drm_exec *exec,
557 struct drm_exec *exec,
561 struct drm_exec *exec,
589 int drm_gpuvm_validate(struct drm_gpuvm *gpuvm, struct drm_exec *exec);
591 struct drm_exec *exec,
1155 struct drm_exec *exec);
/linux/drivers/gpu/drm/
H A Ddrm_exec.c54 static void drm_exec_unlock_all(struct drm_exec *exec) in drm_exec_unlock_all()
79 void drm_exec_init(struct drm_exec *exec, u32 flags, unsigned nr) in drm_exec_init()
102 void drm_exec_fini(struct drm_exec *exec) in drm_exec_fini()
121 bool drm_exec_cleanup(struct drm_exec *exec) in drm_exec_cleanup()
141 static int drm_exec_obj_locked(struct drm_exec *exec, in drm_exec_obj_locked()
162 static int drm_exec_lock_contended(struct drm_exec *exec) in drm_exec_lock_contended()
207 int drm_exec_lock_obj(struct drm_exec *exec, struct drm_gem_object *obj) in drm_exec_lock_obj()
260 void drm_exec_unlock_obj(struct drm_exec *exec, struct drm_gem_object *obj) in drm_exec_unlock_obj()
289 int drm_exec_prepare_obj(struct drm_exec *exec, struct drm_gem_object *obj, in drm_exec_prepare_obj()
321 int drm_exec_prepare_array(struct drm_exec *exec, in drm_exec_prepare_array()
H A Ddrm_gpuvm.c1089 exec_prepare_obj(struct drm_exec *exec, struct drm_gem_object *obj, in exec_prepare_obj()
1112 struct drm_exec *exec, in drm_gpuvm_prepare_vm()
1121 struct drm_exec *exec, in __drm_gpuvm_prepare_objects()
1142 struct drm_exec *exec, in drm_gpuvm_prepare_objects_locked()
1186 struct drm_exec *exec, in drm_gpuvm_prepare_objects()
1212 drm_gpuvm_prepare_range(struct drm_gpuvm *gpuvm, struct drm_exec *exec, in drm_gpuvm_prepare_range()
1249 struct drm_exec *exec = &vm_exec->exec; in drm_gpuvm_exec_lock()
1341 struct drm_exec *exec = &vm_exec->exec; in drm_gpuvm_exec_lock_range()
1363 __drm_gpuvm_validate(struct drm_gpuvm *gpuvm, struct drm_exec *exec) in __drm_gpuvm_validate()
1383 drm_gpuvm_validate_locked(struct drm_gpuvm *gpuvm, struct drm_exec *exec) in drm_gpuvm_validate_locked()
[all …]
H A DMakefile101 obj-$(CONFIG_DRM_EXEC) += drm_exec.o
/linux/drivers/gpu/drm/tests/
H A Ddrm_exec_test.c47 struct drm_exec exec; in sanitycheck()
58 struct drm_exec exec; in test_lock()
78 struct drm_exec exec; in test_lock_unlock()
105 struct drm_exec exec; in test_duplicates()
132 struct drm_exec exec; in test_prepare()
156 struct drm_exec exec; in test_prepare_array()
175 struct drm_exec exec; in test_multiple_loops()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.h10 struct drm_exec;
47 int panthor_vm_prepare_mapped_bos_resvs(struct drm_exec *exec,
88 int panthor_vm_bind_job_prepare_resvs(struct drm_exec *exec,
90 void panthor_vm_bind_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *job);
92 void panthor_vm_update_resvs(struct panthor_vm *vm, struct drm_exec *exec,
H A Dpanthor_sched.h7 struct drm_exec;
35 void panthor_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *job);
H A Dpanthor_mmu.c2494 int panthor_vm_bind_job_prepare_resvs(struct drm_exec *exec, in panthor_vm_bind_job_prepare_resvs()
2520 void panthor_vm_bind_job_update_resvs(struct drm_exec *exec, in panthor_vm_bind_job_update_resvs()
2532 void panthor_vm_update_resvs(struct panthor_vm *vm, struct drm_exec *exec, in panthor_vm_update_resvs()
2642 int panthor_vm_prepare_mapped_bos_resvs(struct drm_exec *exec, struct panthor_vm *vm, in panthor_vm_prepare_mapped_bos_resvs()
/linux/drivers/gpu/drm/xe/
H A Dxe_vm.h25 struct drm_exec;
244 bool xe_vm_validate_should_retry(struct drm_exec *exec, int err, ktime_t *end);
246 int xe_vm_lock_vma(struct drm_exec *exec, struct xe_vma *vma);
248 int xe_vm_validate_rebind(struct xe_vm *vm, struct drm_exec *exec,
H A Dxe_vm.c205 struct drm_exec *exec) in resume_and_reinstall_preempt_fences()
227 struct drm_exec *exec = &vm_exec.exec; in xe_vm_add_compute_exec_queue()
366 bool xe_vm_validate_should_retry(struct drm_exec *exec, int err, ktime_t *end) in xe_vm_validate_should_retry()
382 static int xe_gpuvm_validate(struct drm_gpuvm_bo *vm_bo, struct drm_exec *exec) in xe_gpuvm_validate()
416 int xe_vm_validate_rebind(struct xe_vm *vm, struct drm_exec *exec, in xe_vm_validate_rebind()
442 static int xe_preempt_work_begin(struct drm_exec *exec, struct xe_vm *vm, in xe_preempt_work_begin()
482 struct drm_exec exec; in preempt_rebind_work_func()
1101 int xe_vm_lock_vma(struct drm_exec *exec, struct xe_vma *vma) in xe_vm_lock_vma()
1118 struct drm_exec exec; in xe_vma_destroy_unlocked()
1986 struct drm_exec exec; in new_vma()
[all …]
H A Dxe_exec.c116 struct drm_exec *exec = &vm_exec.exec; in xe_exec_ioctl()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_csa.c69 struct drm_exec exec; in amdgpu_map_static_csa()
109 struct drm_exec exec; in amdgpu_unmap_static_csa()
H A Damdgpu_seq64.c67 struct drm_exec exec; in amdgpu_seq64_map()
124 struct drm_exec exec; in amdgpu_seq64_unmap()
H A Damdgpu_cs.h66 struct drm_exec exec;
H A Damdgpu_vm.h39 struct drm_exec;
484 int amdgpu_vm_lock_pd(struct amdgpu_vm *vm, struct drm_exec *exec,
H A Damdgpu_gem.c234 struct drm_exec exec; in amdgpu_gem_object_close()
715 struct drm_exec exec; in amdgpu_gem_va_ioctl()
H A Damdgpu_umsch_mm.c87 struct drm_exec exec; in map_ring_data()
152 struct drm_exec exec; in unmap_ring_data()
H A Damdgpu_mes.c1302 struct drm_exec exec; in amdgpu_mes_ctx_map_meta_data()
1375 struct drm_exec exec; in amdgpu_mes_ctx_unmap_meta_data()
H A Damdgpu_amdkfd_gpuvm.c1126 struct drm_exec exec;
2647 struct drm_exec exec; in validate_invalid_user_pages()
2907 struct drm_exec exec; in amdgpu_amdkfd_gpuvm_restore_process_bos()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_job.c538 prepare_fw_obj_resv(struct drm_exec *exec, struct pvr_fw_object *fw_obj) in prepare_fw_obj_resv()
544 jobs_lock_all_objs(struct drm_exec *exec, struct pvr_job_data *job_data, in jobs_lock_all_objs()
571 prepare_job_resvs_for_each(struct drm_exec *exec, struct pvr_job_data *job_data, in prepare_job_resvs_for_each()
717 struct drm_exec exec; in pvr_submit_jobs()
H A Dpvr_vm.h27 struct drm_exec;
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem.h262 struct drm_exec exec;
/linux/Documentation/gpu/
H A Ddrm-mm.rst541 .. kernel-doc:: drivers/gpu/drm/drm_exec.c
544 .. kernel-doc:: include/drm/drm_exec.h
547 .. kernel-doc:: drivers/gpu/drm/drm_exec.c
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c1152 bind_lock_validate(struct nouveau_job *job, struct drm_exec *exec, in bind_lock_validate()
1197 struct drm_exec *exec = &vme->exec; in nouveau_uvmm_bind_job_submit()
1802 nouveau_uvmm_bo_validate(struct drm_gpuvm_bo *vm_bo, struct drm_exec *exec) in nouveau_uvmm_bo_validate()

12