Home
last modified time | relevance | path

Searched defs:job (Results 1 – 25 of 157) sorted by relevance

1234567

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_sched_job.c68 static void job_free(struct xe_sched_job *job) in job_free()
77 static struct xe_device *job_to_xe(struct xe_sched_job *job) in job_to_xe()
83 static void xe_sched_job_free_fences(struct xe_sched_job *job) in xe_sched_job_free_fences()
100 struct xe_sched_job *job; in xe_sched_job_create() local
170 struct xe_sched_job *job = in xe_sched_job_destroy() local
198 void xe_sched_job_set_error(struct xe_sched_job *job, int error) in xe_sched_job_set_error()
217 bool xe_sched_job_started(struct xe_sched_job *job) in xe_sched_job_started()
226 bool xe_sched_job_completed(struct xe_sched_job *job) in xe_sched_job_completed()
240 void xe_sched_job_arm(struct xe_sched_job *job) in xe_sched_job_arm()
287 void xe_sched_job_push(struct xe_sched_job *job) in xe_sched_job_push()
[all …]
Dxe_sched_job.h31 static inline struct xe_sched_job *xe_sched_job_get(struct xe_sched_job *job) in xe_sched_job_get()
44 static inline void xe_sched_job_put(struct xe_sched_job *job) in xe_sched_job_put()
50 static inline bool xe_sched_job_is_error(struct xe_sched_job *job) in xe_sched_job_is_error()
71 static inline u32 xe_sched_job_seqno(struct xe_sched_job *job) in xe_sched_job_seqno()
76 static inline u32 xe_sched_job_lrc_seqno(struct xe_sched_job *job) in xe_sched_job_lrc_seqno()
82 xe_sched_job_add_migrate_flush(struct xe_sched_job *job, u32 flags) in xe_sched_job_add_migrate_flush()
Dxe_ring_ops.c174 static int emit_render_cache_flush(struct xe_sched_job *job, u32 *dw, int i) in emit_render_cache_flush()
222 static u32 get_ppgtt_flag(struct xe_sched_job *job) in get_ppgtt_flag()
241 static void __emit_job_gen12_simple(struct xe_sched_job *job, struct xe_lrc *lrc, in __emit_job_gen12_simple()
292 static void __emit_job_gen12_video(struct xe_sched_job *job, struct xe_lrc *lrc, in __emit_job_gen12_video()
341 static void __emit_job_gen12_render_compute(struct xe_sched_job *job, in __emit_job_gen12_render_compute()
392 static void emit_migration_job_gen12(struct xe_sched_job *job, in emit_migration_job_gen12()
428 static void emit_job_gen12_gsc(struct xe_sched_job *job) in emit_job_gen12_gsc()
439 static void emit_job_gen12_copy(struct xe_sched_job *job) in emit_job_gen12_copy()
455 static void emit_job_gen12_video(struct xe_sched_job *job) in emit_job_gen12_video()
466 static void emit_job_gen12_render_compute(struct xe_sched_job *job) in emit_job_gen12_render_compute()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c37 struct amdgpu_job *job) in amdgpu_job_do_core_dump()
52 struct amdgpu_job *job) in amdgpu_job_core_dump()
91 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_timedout() local
189 unsigned int num_ibs, struct amdgpu_job **job) in amdgpu_job_alloc()
218 struct amdgpu_job **job) in amdgpu_job_alloc_with_ib()
237 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds, in amdgpu_job_set_resources()
254 void amdgpu_job_free_resources(struct amdgpu_job *job) in amdgpu_job_free_resources()
274 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_free_cb() local
287 void amdgpu_job_set_gang_leader(struct amdgpu_job *job, in amdgpu_job_set_gang_leader()
303 void amdgpu_job_free(struct amdgpu_job *job) in amdgpu_job_free()
[all …]
Damdgpu_ids.c169 struct amdgpu_job *job) in amdgpu_vmid_gds_switch_needed()
181 struct amdgpu_job *job) in amdgpu_vmid_compatible()
272 struct amdgpu_job *job, in amdgpu_vmid_grab_reserved()
351 struct amdgpu_job *job, in amdgpu_vmid_grab_used()
413 struct amdgpu_job *job, struct dma_fence **fence) in amdgpu_vmid_grab()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_sched.c26 nouveau_job_init(struct nouveau_job *job, in nouveau_job_init()
110 nouveau_job_fini(struct nouveau_job *job) in nouveau_job_fini()
119 nouveau_job_done(struct nouveau_job *job) in nouveau_job_done()
131 nouveau_job_free(struct nouveau_job *job) in nouveau_job_free()
140 sync_find_fence(struct nouveau_job *job, in sync_find_fence()
165 nouveau_job_add_deps(struct nouveau_job *job) in nouveau_job_add_deps()
190 nouveau_job_fence_attach_cleanup(struct nouveau_job *job) in nouveau_job_fence_attach_cleanup()
207 nouveau_job_fence_attach_prepare(struct nouveau_job *job) in nouveau_job_fence_attach_prepare()
249 nouveau_job_fence_attach(struct nouveau_job *job) in nouveau_job_fence_attach()
274 nouveau_job_submit(struct nouveau_job *job) in nouveau_job_submit()
[all …]
Dnouveau_exec.c87 nouveau_exec_job_submit(struct nouveau_job *job, in nouveau_exec_job_submit()
118 nouveau_exec_job_armed_submit(struct nouveau_job *job, in nouveau_exec_job_armed_submit()
127 nouveau_exec_job_run(struct nouveau_job *job) in nouveau_exec_job_run()
164 nouveau_exec_job_free(struct nouveau_job *job) in nouveau_exec_job_free()
177 nouveau_exec_job_timeout(struct nouveau_job *job) in nouveau_exec_job_timeout()
203 struct nouveau_exec_job *job; in nouveau_exec_job_init() local
268 struct nouveau_exec_job *job; in nouveau_exec() local
/linux-6.12.1/drivers/gpu/drm/v3d/
Dv3d_sched.c71 struct v3d_job *job = to_v3d_job(sched_job); in v3d_sched_job_free() local
109 struct v3d_cpu_job *job = to_cpu_job(sched_job); in v3d_cpu_job_free() local
121 v3d_switch_perfmon(struct v3d_dev *v3d, struct v3d_job *job) in v3d_switch_perfmon()
131 v3d_job_start_stats(struct v3d_job *job, enum v3d_queue queue) in v3d_job_start_stats()
163 v3d_job_update_stats(struct v3d_job *job, enum v3d_queue queue) in v3d_job_update_stats()
179 struct v3d_bin_job *job = to_bin_job(sched_job); in v3d_bin_job_run() local
235 struct v3d_render_job *job = to_render_job(sched_job); in v3d_render_job_run() local
281 struct v3d_tfu_job *job = to_tfu_job(sched_job); in v3d_tfu_job_run() local
322 struct v3d_csd_job *job = to_csd_job(sched_job); in v3d_csd_job_run() local
364 v3d_rewrite_csd_job_wg_counts_from_indirect(struct v3d_cpu_job *job) in v3d_rewrite_csd_job_wg_counts_from_indirect()
[all …]
Dv3d_submit.c21 v3d_lock_bo_reservations(struct v3d_job *job, in v3d_lock_bo_reservations()
67 struct v3d_job *job, in v3d_lookup_bos()
89 struct v3d_job *job = container_of(ref, struct v3d_job, refcount); in v3d_job_free() local
110 struct v3d_render_job *job = container_of(ref, struct v3d_render_job, in v3d_render_job_free() local
121 void v3d_job_cleanup(struct v3d_job *job) in v3d_job_cleanup()
130 void v3d_job_put(struct v3d_job *job) in v3d_job_put()
159 struct v3d_job *job, void (*free)(struct kref *ref), in v3d_job_init()
212 v3d_push_job(struct v3d_job *job) in v3d_push_job()
226 struct v3d_job *job, in v3d_attach_fences_and_unlock_reservation()
270 struct v3d_csd_job **job, in v3d_setup_csd_jobs_and_bos()
[all …]
/linux-6.12.1/drivers/gpu/host1x/
Djob.c30 struct host1x_job *job = NULL; in host1x_job_alloc() local
77 struct host1x_job *host1x_job_get(struct host1x_job *job) in host1x_job_get()
86 struct host1x_job *job = container_of(ref, struct host1x_job, ref); in job_free() local
107 void host1x_job_put(struct host1x_job *job) in host1x_job_put()
113 void host1x_job_add_gather(struct host1x_job *job, struct host1x_bo *bo, in host1x_job_add_gather()
126 void host1x_job_add_wait(struct host1x_job *job, u32 id, u32 thresh, in host1x_job_add_wait()
141 static unsigned int pin_job(struct host1x *host, struct host1x_job *job) in pin_job()
279 static int do_relocs(struct host1x_job *job, struct host1x_job_gather *g) in do_relocs()
339 struct host1x_job *job; member
524 static inline int copy_gathers(struct device *host, struct host1x_job *job, in copy_gathers()
[all …]
Dcdma.c274 struct host1x_job *job) in cdma_start_timer_locked()
313 struct host1x_job *job, *n; in update_cdma_locked() local
368 struct host1x_job *job, *next_job = NULL; in host1x_cdma_update_sync_queue() local
548 int host1x_cdma_begin(struct host1x_cdma *cdma, struct host1x_job *job) in host1x_cdma_begin()
666 struct host1x_job *job) in host1x_cdma_end()
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_job.c25 struct pvr_job *job = container_of(kref, struct pvr_job, ref_count); in pvr_job_release() local
46 pvr_job_put(struct pvr_job *job) in pvr_job_put()
69 void *stream, u32 stream_size, struct pvr_job *job) in pvr_job_process_stream()
86 static int pvr_fw_cmd_init(struct pvr_device *pvr_dev, struct pvr_job *job, in pvr_fw_cmd_init()
149 pvr_geom_job_fw_cmd_init(struct pvr_job *job, in pvr_geom_job_fw_cmd_init()
178 pvr_frag_job_fw_cmd_init(struct pvr_job *job, in pvr_frag_job_fw_cmd_init()
222 pvr_compute_job_fw_cmd_init(struct pvr_job *job, in pvr_compute_job_fw_cmd_init()
258 pvr_transfer_job_fw_cmd_init(struct pvr_job *job, in pvr_transfer_job_fw_cmd_init()
283 pvr_job_fw_cmd_init(struct pvr_job *job, in pvr_job_fw_cmd_init()
310 struct pvr_job *job; member
[all …]
Dpvr_queue.c340 static u32 job_cmds_size(struct pvr_job *job, u32 ufo_wait_count) in job_cmds_size()
355 static unsigned long job_count_remaining_native_deps(struct pvr_job *job) in job_count_remaining_native_deps()
388 pvr_queue_get_job_cccb_fence(struct pvr_queue *queue, struct pvr_job *job) in pvr_queue_get_job_cccb_fence()
441 pvr_queue_get_job_kccb_fence(struct pvr_queue *queue, struct pvr_job *job) in pvr_queue_get_job_kccb_fence()
461 pvr_queue_get_paired_frag_job_dep(struct pvr_queue *queue, struct pvr_job *job) in pvr_queue_get_paired_frag_job_dep()
498 struct pvr_job *job = container_of(sched_job, struct pvr_job, base); in pvr_queue_prepare_job() local
601 static void pvr_queue_submit_job_to_cccb(struct pvr_job *job) in pvr_queue_submit_job_to_cccb()
688 struct pvr_job *job = container_of(sched_job, struct pvr_job, base); in pvr_queue_run_job() local
763 struct pvr_job *job; in pvr_queue_start() local
804 struct pvr_job *job; in pvr_queue_timedout_job() local
[all …]
Dpvr_job.h104 pvr_job_get(struct pvr_job *job) in pvr_job_get()
119 pvr_job_release_pm_ref(struct pvr_job *job) in pvr_job_release_pm_ref()
136 pvr_job_get_pm_ref(struct pvr_job *job) in pvr_job_get_pm_ref()
/linux-6.12.1/block/
Dbsg-lib.c31 struct bsg_job *job; in bsg_transport_sg_io_fn() local
158 struct bsg_job *job = container_of(kref, struct bsg_job, kref); in bsg_teardown_job() local
169 void bsg_job_put(struct bsg_job *job) in bsg_job_put()
175 int bsg_job_get(struct bsg_job *job) in bsg_job_get()
189 void bsg_job_done(struct bsg_job *job, int result, in bsg_job_done()
207 struct bsg_job *job = blk_mq_rq_to_pdu(rq); in bsg_complete() local
234 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_prepare_job() local
304 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_init_rq() local
315 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_exit_rq() local
/linux-6.12.1/drivers/gpu/drm/panfrost/
Dpanfrost_job.c106 int panfrost_job_get_slot(struct panfrost_job *job) in panfrost_job_get_slot()
146 panfrost_get_job_chain_flag(const struct panfrost_job *job) in panfrost_get_job_chain_flag()
159 struct panfrost_job *job = pfdev->jobs[slot][0]; in panfrost_dequeue_job() local
180 struct panfrost_job *job) in panfrost_enqueue_job()
197 static void panfrost_job_hw_submit(struct panfrost_job *job, int js) in panfrost_job_hw_submit()
263 struct drm_sched_job *job) in panfrost_acquire_object_fences()
292 int panfrost_job_push(struct panfrost_job *job) in panfrost_job_push()
332 struct panfrost_job *job = container_of(ref, struct panfrost_job, in panfrost_job_cleanup() local
360 void panfrost_job_put(struct panfrost_job *job) in panfrost_job_put()
367 struct panfrost_job *job = to_panfrost_job(sched_job); in panfrost_job_free() local
[all …]
/linux-6.12.1/drivers/md/
Ddm-kcopyd.c420 struct kcopyd_job *job; in pop_io_job() local
446 struct kcopyd_job *job = NULL; in pop() local
463 static void push(struct list_head *jobs, struct kcopyd_job *job) in push()
474 static void push_head(struct list_head *jobs, struct kcopyd_job *job) in push_head()
492 static int run_complete_job(struct kcopyd_job *job) in run_complete_job()
522 struct kcopyd_job *job = context; in complete_io() local
555 static int run_io_job(struct kcopyd_job *job) in run_io_job()
588 static int run_pages_job(struct kcopyd_job *job) in run_pages_job()
614 struct kcopyd_job *job; in process_jobs() local
679 static void dispatch_job(struct kcopyd_job *job) in dispatch_job()
[all …]
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_bsg.c295 struct bsg_job *job; in lpfc_bsg_send_mgmt_cmd_cmp() local
379 lpfc_bsg_send_mgmt_cmd(struct bsg_job *job) in lpfc_bsg_send_mgmt_cmd()
554 struct bsg_job *job; in lpfc_bsg_rport_els_cmp() local
642 lpfc_bsg_rport_els(struct bsg_job *job) in lpfc_bsg_rport_els()
906 struct bsg_job *job = NULL; in lpfc_bsg_ct_unsol_event() local
1166 lpfc_bsg_hba_set_event(struct bsg_job *job) in lpfc_bsg_hba_set_event()
1249 lpfc_bsg_hba_get_event(struct bsg_job *job) in lpfc_bsg_hba_get_event()
1361 struct bsg_job *job; in lpfc_issue_ct_rsp_cmp() local
1444 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *job, uint32_t tag, in lpfc_issue_ct_rsp()
1570 lpfc_bsg_send_mgmt_rsp(struct bsg_job *job) in lpfc_bsg_send_mgmt_rsp()
[all …]
/linux-6.12.1/drivers/gpu/host1x/hw/
Dchannel_hw.c50 static void submit_wait(struct host1x_job *job, u32 id, u32 threshold, in submit_wait()
113 static void submit_gathers(struct host1x_job *job, u32 job_syncpt_base) in submit_gathers()
163 static inline void synchronize_syncpt_base(struct host1x_job *job) in synchronize_syncpt_base()
212 static void channel_program_cdma(struct host1x_job *job) in channel_program_cdma()
281 struct host1x_job *job = container_of(cb, struct host1x_job, fence_cb); in job_complete_callback() local
287 static int channel_submit(struct host1x_job *job) in channel_submit()
/linux-6.12.1/drivers/gpu/drm/scheduler/
Dsched_main.c394 struct drm_sched_job *job; in drm_sched_run_free_queue() local
556 struct drm_sched_job *job; in drm_sched_job_timedout() local
788 int drm_sched_job_init(struct drm_sched_job *job, in drm_sched_job_init()
833 void drm_sched_job_arm(struct drm_sched_job *job) in drm_sched_job_arm()
860 int drm_sched_job_add_dependency(struct drm_sched_job *job, in drm_sched_job_add_dependency()
908 int drm_sched_job_add_syncobj_dependency(struct drm_sched_job *job, in drm_sched_job_add_syncobj_dependency()
936 int drm_sched_job_add_resv_dependencies(struct drm_sched_job *job, in drm_sched_job_add_resv_dependencies()
974 int drm_sched_job_add_implicit_dependencies(struct drm_sched_job *job, in drm_sched_job_add_implicit_dependencies()
996 void drm_sched_job_cleanup(struct drm_sched_job *job) in drm_sched_job_cleanup()
1071 struct drm_sched_job *job, *next; in drm_sched_get_finished_job() local
[all …]
Dsched_entity.c190 struct drm_sched_job *job = container_of(wrk, typeof(*job), work); in drm_sched_entity_kill_jobs_work() local
201 struct drm_sched_job *job = container_of(cb, struct drm_sched_job, in drm_sched_entity_kill_jobs_cb() local
241 struct drm_sched_job *job; in drm_sched_entity_kill() local
455 drm_sched_job_dependency(struct drm_sched_job *job, in drm_sched_job_dependency()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_writeback.c312 int drm_writeback_prepare_job(struct drm_writeback_job *job) in drm_writeback_prepare_job()
352 struct drm_writeback_job *job; in drm_writeback_queue_job() local
364 void drm_writeback_cleanup_job(struct drm_writeback_job *job) in drm_writeback_cleanup_job()
392 struct drm_writeback_job *job = container_of(work, in cleanup_work() local
420 struct drm_writeback_job *job; in drm_writeback_signal_completion() local
/linux-6.12.1/drivers/accel/ivpu/
Divpu_job.c342 static int ivpu_cmdq_push_job(struct ivpu_cmdq *cmdq, struct ivpu_job *job) in ivpu_cmdq_push_job()
422 static void ivpu_job_destroy(struct ivpu_job *job) in ivpu_job_destroy()
443 struct ivpu_job *job; in ivpu_job_create() local
470 struct ivpu_job *job; in ivpu_job_remove_from_submitted_jobs() local
487 struct ivpu_job *job; in ivpu_job_signal_and_destroy() local
511 struct ivpu_job *job; in ivpu_jobs_abort_all() local
518 static int ivpu_job_submit(struct ivpu_job *job, u8 priority) in ivpu_job_submit()
593 ivpu_job_prepare_bos_for_submit(struct drm_file *file, struct ivpu_job *job, u32 *buf_handles, in ivpu_job_prepare_bos_for_submit()
671 struct ivpu_job *job; in ivpu_submit_ioctl() local
/linux-6.12.1/drivers/accel/habanalabs/common/
Dhw_queue.c279 static void ext_queue_schedule_job(struct hl_cs_job *job) in ext_queue_schedule_job()
344 static void int_queue_schedule_job(struct hl_cs_job *job) in int_queue_schedule_job()
380 static void hw_queue_schedule_job(struct hl_cs_job *job) in hw_queue_schedule_job()
416 struct hl_cs_job *job, struct hl_cs_compl *cs_cmpl) in init_signal_cs()
451 struct hl_cs *cs, struct hl_cs_job *job, in hl_hw_queue_encaps_sig_set_sob_info()
475 struct hl_cs_job *job, struct hl_cs_compl *cs_cmpl) in init_wait_cs()
562 struct hl_cs_job *job; in init_signal_wait_cs() local
642 struct hl_cs_job *job, *tmp; in hl_hw_queue_schedule_cs() local
/linux-6.12.1/drivers/gpu/drm/tegra/
Dsubmit.c327 static int submit_get_syncpt(struct tegra_drm_context *context, struct host1x_job *job, in submit_get_syncpt()
350 static int submit_job_add_gather(struct host1x_job *job, struct tegra_drm_context *context, in submit_job_add_gather()
399 struct host1x_job *job; in submit_create_job() local
490 static void release_job(struct host1x_job *job) in release_job()
517 struct host1x_job *job; in tegra_drm_ioctl_channel_submit() local

1234567