Home
last modified time | relevance | path

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

12

/linux-6.15/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,
1160 struct drm_exec *exec);
/linux-6.15/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()
1416 drm_gpuvm_validate(struct drm_gpuvm *gpuvm, struct drm_exec *exec) in drm_gpuvm_validate()
[all …]
H A DMakefile105 obj-$(CONFIG_DRM_EXEC) += drm_exec.o
/linux-6.15/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-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.h10 struct drm_exec;
50 int panthor_vm_prepare_mapped_bos_resvs(struct drm_exec *exec,
91 int panthor_vm_bind_job_prepare_resvs(struct drm_exec *exec,
93 void panthor_vm_bind_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *job);
95 void panthor_vm_update_resvs(struct panthor_vm *vm, struct drm_exec *exec,
H A Dpanthor_sched.h7 struct drm_exec;
36 void panthor_job_update_resvs(struct drm_exec *exec, struct drm_sched_job *job);
H A Dpanthor_mmu.c2541 int panthor_vm_bind_job_prepare_resvs(struct drm_exec *exec, in panthor_vm_bind_job_prepare_resvs()
2567 void panthor_vm_bind_job_update_resvs(struct drm_exec *exec, in panthor_vm_bind_job_update_resvs()
2579 void panthor_vm_update_resvs(struct panthor_vm *vm, struct drm_exec *exec, in panthor_vm_update_resvs()
2689 int panthor_vm_prepare_mapped_bos_resvs(struct drm_exec *exec, struct panthor_vm *vm, in panthor_vm_prepare_mapped_bos_resvs()
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_vm.h27 struct drm_exec;
260 bool xe_vm_validate_should_retry(struct drm_exec *exec, int err, ktime_t *end);
262 int xe_vm_lock_vma(struct drm_exec *exec, struct xe_vma *vma);
264 int xe_vm_validate_rebind(struct xe_vm *vm, struct drm_exec *exec,
H A Dxe_vm.c207 struct drm_exec *exec) in resume_and_reinstall_preempt_fences()
229 struct drm_exec *exec = &vm_exec.exec; in xe_vm_add_compute_exec_queue()
419 int xe_vm_validate_rebind(struct xe_vm *vm, struct drm_exec *exec, in xe_vm_validate_rebind()
445 static int xe_preempt_work_begin(struct drm_exec *exec, struct xe_vm *vm, in xe_preempt_work_begin()
485 struct drm_exec exec; in preempt_rebind_work_func()
1339 int xe_vm_lock_vma(struct drm_exec *exec, struct xe_vma *vma) in xe_vm_lock_vma()
1356 struct drm_exec exec; in xe_vma_destroy_unlocked()
2291 struct drm_exec exec; in new_vma()
2722 static int op_lock_and_prep(struct drm_exec *exec, struct xe_vm *vm, in op_lock_and_prep()
2777 static int vm_bind_ioctl_ops_lock_and_prep(struct drm_exec *exec, in vm_bind_ioctl_ops_lock_and_prep()
[all …]
H A Dxe_gt_pagefault.c98 static int xe_pf_begin(struct drm_exec *exec, struct xe_vma *vma, in xe_pf_begin()
134 struct drm_exec exec; in handle_vma_pagefault()
569 struct drm_exec exec; in handle_acc()
H A Dxe_exec.c116 struct drm_exec *exec = &vm_exec.exec; in xe_exec_ioctl()
/linux-6.15/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.h40 struct drm_exec;
493 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()
716 struct drm_exec exec; in amdgpu_gem_va_ioctl()
/linux-6.15/drivers/gpu/drm/imagination/
H A Dpvr_job.c531 prepare_fw_obj_resv(struct drm_exec *exec, struct pvr_fw_object *fw_obj) in prepare_fw_obj_resv()
537 jobs_lock_all_objs(struct drm_exec *exec, struct pvr_job_data *job_data, in jobs_lock_all_objs()
564 prepare_job_resvs_for_each(struct drm_exec *exec, struct pvr_job_data *job_data, in prepare_job_resvs_for_each()
711 struct drm_exec exec; in pvr_submit_jobs()
H A Dpvr_vm.h27 struct drm_exec;
/linux-6.15/drivers/gpu/drm/radeon/
H A Dradeon_object.h155 struct drm_exec *exec,
/linux-6.15/drivers/gpu/drm/vc4/
H A Dvc4_gem.c583 struct drm_exec *exec_ctx) in vc4_lock_bo_reservations()
615 struct drm_exec *exec_ctx, in vc4_queue_submit()
1016 struct drm_exec exec_ctx; in vc4_submit_cl_ioctl()
/linux-6.15/drivers/gpu/drm/msm/
H A Dmsm_gem.h262 struct drm_exec exec;
/linux-6.15/drivers/gpu/drm/qxl/
H A Dqxl_drv.h153 struct drm_exec exec;
/linux-6.15/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

12