/linux/include/drm/ |
H A D | drm_exec.h | 17 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 D | drm_gpuvm.h | 516 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 D | drm_exec.c | 54 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 D | drm_gpuvm.c | 1089 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 D | Makefile | 101 obj-$(CONFIG_DRM_EXEC) += drm_exec.o
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_exec_test.c | 47 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 D | panthor_mmu.h | 10 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 D | panthor_sched.h | 7 struct drm_exec; 35 void panthor_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *job);
|
H A D | panthor_mmu.c | 2494 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 D | xe_vm.h | 25 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 D | xe_vm.c | 205 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 D | xe_exec.c | 116 struct drm_exec *exec = &vm_exec.exec; in xe_exec_ioctl()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_csa.c | 69 struct drm_exec exec; in amdgpu_map_static_csa() 109 struct drm_exec exec; in amdgpu_unmap_static_csa()
|
H A D | amdgpu_seq64.c | 67 struct drm_exec exec; in amdgpu_seq64_map() 124 struct drm_exec exec; in amdgpu_seq64_unmap()
|
H A D | amdgpu_cs.h | 66 struct drm_exec exec;
|
H A D | amdgpu_vm.h | 39 struct drm_exec; 484 int amdgpu_vm_lock_pd(struct amdgpu_vm *vm, struct drm_exec *exec,
|
H A D | amdgpu_gem.c | 234 struct drm_exec exec; in amdgpu_gem_object_close() 715 struct drm_exec exec; in amdgpu_gem_va_ioctl()
|
H A D | amdgpu_umsch_mm.c | 87 struct drm_exec exec; in map_ring_data() 152 struct drm_exec exec; in unmap_ring_data()
|
H A D | amdgpu_mes.c | 1302 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 D | amdgpu_amdkfd_gpuvm.c | 1126 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 D | pvr_job.c | 538 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 D | pvr_vm.h | 27 struct drm_exec;
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem.h | 262 struct drm_exec exec;
|
/linux/Documentation/gpu/ |
H A D | drm-mm.rst | 541 .. 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 D | nouveau_uvmm.c | 1152 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()
|