/linux/drivers/gpu/drm/xe/ |
H A D | xe_sched_job.c | 68 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 …]
|
H A D | xe_sched_job.h | 31 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()
|
H A D | xe_ring_ops.c | 174 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() 244 static void __emit_job_gen12_simple(struct xe_sched_job *job, struct xe_lrc *lrc, in __emit_job_gen12_simple() 295 static void __emit_job_gen12_video(struct xe_sched_job *job, struct xe_lrc *lrc, in __emit_job_gen12_video() 344 static void __emit_job_gen12_render_compute(struct xe_sched_job *job, in __emit_job_gen12_render_compute() 395 static void emit_migration_job_gen12(struct xe_sched_job *job, in emit_migration_job_gen12() 431 static void emit_job_gen12_gsc(struct xe_sched_job *job) in emit_job_gen12_gsc() 442 static void emit_job_gen12_copy(struct xe_sched_job *job) in emit_job_gen12_copy() 458 static void emit_job_gen12_video(struct xe_sched_job *job) in emit_job_gen12_video() 469 static void emit_job_gen12_render_compute(struct xe_sched_job *job) in emit_job_gen12_render_compute()
|
H A D | xe_gpu_scheduler.h | 58 xe_sched_invalidate_job(struct xe_sched_job *job, int threshold) in xe_sched_invalidate_job() 64 struct xe_sched_job *job) in xe_sched_add_pending_job() 74 struct xe_sched_job *job; in xe_sched_first_pending_job() local
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_job.c | 37 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 188 unsigned int num_ibs, struct amdgpu_job **job) in amdgpu_job_alloc() 212 struct amdgpu_job **job) in amdgpu_job_alloc_with_ib() 231 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds, in amdgpu_job_set_resources() 248 void amdgpu_job_free_resources(struct amdgpu_job *job) in amdgpu_job_free_resources() 267 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_free_cb() local 280 void amdgpu_job_set_gang_leader(struct amdgpu_job *job, in amdgpu_job_set_gang_leader() 296 void amdgpu_job_free(struct amdgpu_job *job) in amdgpu_job_free() [all …]
|
H A D | amdgpu_ids.c | 169 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() 350 struct amdgpu_job *job, in amdgpu_vmid_grab_used() 411 struct amdgpu_job *job, struct dma_fence **fence) in amdgpu_vmid_grab()
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sched.c | 26 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 …]
|
H A D | nouveau_exec.c | 87 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
|
H A D | nouveau_uvmm.c | 967 struct nouveau_uvmm_bind_job *job = in nouveau_uvmm_bind_job_free() local 981 nouveau_uvmm_bind_job_get(struct nouveau_uvmm_bind_job *job) in nouveau_uvmm_bind_job_get() 987 nouveau_uvmm_bind_job_put(struct nouveau_uvmm_bind_job *job) in nouveau_uvmm_bind_job_put() 993 bind_validate_op(struct nouveau_job *job, in bind_validate_op() 1014 bind_validate_map_sparse(struct nouveau_job *job, u64 addr, u64 range) in bind_validate_map_sparse() 1045 bind_validate_map_common(struct nouveau_job *job, u64 addr, u64 range, in bind_validate_map_common() 1089 bind_validate_region(struct nouveau_job *job) in bind_validate_region() 1152 bind_lock_validate(struct nouveau_job *job, struct drm_exec *exec, in bind_lock_validate() 1192 nouveau_uvmm_bind_job_submit(struct nouveau_job *job, in nouveau_uvmm_bind_job_submit() 1432 nouveau_uvmm_bind_job_armed_submit(struct nouveau_job *job, in nouveau_uvmm_bind_job_armed_submit() [all …]
|
/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_sched.c | 71 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() 139 v3d_job_start_stats(struct v3d_job *job, enum v3d_queue queue) in v3d_job_start_stats() 197 v3d_job_update_stats(struct v3d_job *job, enum v3d_queue queue) in v3d_job_update_stats() 223 struct v3d_bin_job *job = to_bin_job(sched_job); in v3d_bin_job_run() local 279 struct v3d_render_job *job = to_render_job(sched_job); in v3d_render_job_run() local 325 struct v3d_tfu_job *job = to_tfu_job(sched_job); in v3d_tfu_job_run() local 366 struct v3d_csd_job *job = to_csd_job(sched_job); in v3d_csd_job_run() local 408 v3d_rewrite_csd_job_wg_counts_from_indirect(struct v3d_cpu_job *job) in v3d_rewrite_csd_job_wg_counts_from_indirect() [all …]
|
H A D | v3d_submit.c | 22 v3d_lock_bo_reservations(struct v3d_job *job, in v3d_lock_bo_reservations() 68 struct v3d_job *job, in v3d_lookup_bos() 90 struct v3d_job *job = container_of(ref, struct v3d_job, refcount); in v3d_job_free() local 111 struct v3d_render_job *job = container_of(ref, struct v3d_render_job, in v3d_render_job_free() local 122 void v3d_job_cleanup(struct v3d_job *job) in v3d_job_cleanup() 131 void v3d_job_put(struct v3d_job *job) in v3d_job_put() 160 struct v3d_job *job, void (*free)(struct kref *ref), in v3d_job_init() 213 v3d_push_job(struct v3d_job *job) in v3d_push_job() 227 struct v3d_job *job, in v3d_attach_fences_and_unlock_reservation() 271 struct v3d_csd_job **job, in v3d_setup_csd_jobs_and_bos() [all …]
|
/linux/drivers/gpu/host1x/ |
H A D | job.c | 30 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 …]
|
H A D | cdma.c | 274 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/drivers/gpu/drm/imagination/ |
H A D | pvr_queue.c | 350 static u32 job_cmds_size(struct pvr_job *job, u32 ufo_wait_count) in job_cmds_size() 365 static unsigned long job_count_remaining_native_deps(struct pvr_job *job) in job_count_remaining_native_deps() 398 pvr_queue_get_job_cccb_fence(struct pvr_queue *queue, struct pvr_job *job) in pvr_queue_get_job_cccb_fence() 451 pvr_queue_get_job_kccb_fence(struct pvr_queue *queue, struct pvr_job *job) in pvr_queue_get_job_kccb_fence() 471 pvr_queue_get_paired_frag_job_dep(struct pvr_queue *queue, struct pvr_job *job) in pvr_queue_get_paired_frag_job_dep() 508 struct pvr_job *job = container_of(sched_job, struct pvr_job, base); in pvr_queue_prepare_job() local 611 static void pvr_queue_submit_job_to_cccb(struct pvr_job *job) in pvr_queue_submit_job_to_cccb() 698 struct pvr_job *job = container_of(sched_job, struct pvr_job, base); in pvr_queue_run_job() local 773 struct pvr_job *job; in pvr_queue_start() local 814 struct pvr_job *job; in pvr_queue_timedout_job() local [all …]
|
H A D | pvr_job.h | 104 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/drivers/gpu/drm/panfrost/ |
H A D | panfrost_job.c | 106 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 181 struct panfrost_job *job) in panfrost_enqueue_job() 198 static void panfrost_job_hw_submit(struct panfrost_job *job, int js) in panfrost_job_hw_submit() 268 struct drm_sched_job *job) in panfrost_acquire_object_fences() 297 int panfrost_job_push(struct panfrost_job *job) in panfrost_job_push() 337 struct panfrost_job *job = container_of(ref, struct panfrost_job, in panfrost_job_cleanup() local 365 void panfrost_job_put(struct panfrost_job *job) in panfrost_job_put() 372 struct panfrost_job *job = to_panfrost_job(sched_job); in panfrost_job_free() local [all …]
|
/linux/drivers/md/ |
H A D | dm-kcopyd.c | 420 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/drivers/gpu/host1x/hw/ |
H A D | channel_hw.c | 50 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/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 305 struct bsg_job *job; in lpfc_bsg_send_mgmt_cmd_cmp() local 389 lpfc_bsg_send_mgmt_cmd(struct bsg_job *job) in lpfc_bsg_send_mgmt_cmd() 568 struct bsg_job *job; in lpfc_bsg_rport_els_cmp() local 656 lpfc_bsg_rport_els(struct bsg_job *job) in lpfc_bsg_rport_els() 920 struct bsg_job *job = NULL; in lpfc_bsg_ct_unsol_event() local 1180 lpfc_bsg_hba_set_event(struct bsg_job *job) in lpfc_bsg_hba_set_event() 1263 lpfc_bsg_hba_get_event(struct bsg_job *job) in lpfc_bsg_hba_get_event() 1375 struct bsg_job *job; in lpfc_issue_ct_rsp_cmp() local 1458 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *job, uint32_t tag, in lpfc_issue_ct_rsp() 1584 lpfc_bsg_send_mgmt_rsp(struct bsg_job *job) in lpfc_bsg_send_mgmt_rsp() [all …]
|
/linux/drivers/gpu/drm/scheduler/ |
H A D | sched_main.c | 392 struct drm_sched_job *job; in drm_sched_run_free_queue() local 554 struct drm_sched_job *job; in drm_sched_job_timedout() local 797 int drm_sched_job_init(struct drm_sched_job *job, in drm_sched_job_init() 850 void drm_sched_job_arm(struct drm_sched_job *job) in drm_sched_job_arm() 877 int drm_sched_job_add_dependency(struct drm_sched_job *job, in drm_sched_job_add_dependency() 925 int drm_sched_job_add_syncobj_dependency(struct drm_sched_job *job, in drm_sched_job_add_syncobj_dependency() 953 int drm_sched_job_add_resv_dependencies(struct drm_sched_job *job, in drm_sched_job_add_resv_dependencies() 991 int drm_sched_job_add_implicit_dependencies(struct drm_sched_job *job, in drm_sched_job_add_implicit_dependencies() 1013 void drm_sched_job_cleanup(struct drm_sched_job *job) in drm_sched_job_cleanup() 1088 struct drm_sched_job *job, *next; in drm_sched_get_finished_job() local [all …]
|
/linux/drivers/accel/amdxdna/ |
H A D | aie2_ctx.c | 33 struct amdxdna_sched_job *job; in aie2_job_release() local 42 static void aie2_job_put(struct amdxdna_sched_job *job) in aie2_job_put() 172 aie2_sched_notify(struct amdxdna_sched_job *job) in aie2_sched_notify() 190 struct amdxdna_sched_job *job = handle; in aie2_sched_resp_handler() local 221 struct amdxdna_sched_job *job = handle; in aie2_sched_nocmd_resp_handler() local 244 struct amdxdna_sched_job *job = handle; in aie2_sched_cmdlist_resp_handler() local 295 struct amdxdna_sched_job *job = drm_job_to_xdna_job(sched_job); in aie2_sched_job_run() local 335 struct amdxdna_sched_job *job = drm_job_to_xdna_job(sched_job); in aie2_sched_job_free() local 349 struct amdxdna_sched_job *job = drm_job_to_xdna_job(sched_job); in aie2_sched_job_timedout() local 800 int aie2_cmd_submit(struct amdxdna_hwctx *hwctx, struct amdxdna_sched_job *job, u64 *seq) in aie2_cmd_submit()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | hw_queue.c | 279 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/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_app.c | 962 struct bsg_job *job) in mpi3mr_bsg_refresh_hdb_triggers() 1020 struct bsg_job *job) in mpi3mr_bsg_upload_hdb() 1086 struct bsg_job *job) in mpi3mr_bsg_repost_hdb() 1149 struct bsg_job *job) in mpi3mr_bsg_query_hdb() 1213 struct bsg_job *job) in mpi3mr_enable_logdata() 1251 struct bsg_job *job) in mpi3mr_get_logdata() 1285 struct bsg_job *job) in mpi3mr_bsg_pel_enable() 1383 struct bsg_job *job) in mpi3mr_get_all_tgt_info() 1460 struct bsg_job *job) in mpi3mr_get_change_count() 1487 struct bsg_job *job) in mpi3mr_bsg_adp_reset() [all …]
|
/linux/drivers/gpu/drm/tegra/ |
H A D | submit.c | 327 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
|
/linux/drivers/ufs/core/ |
H A D | ufs_bsg.c | 29 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer() 67 static int ufs_bsg_exec_advanced_rpmb_req(struct ufs_hba *hba, struct bsg_job *job) in ufs_bsg_exec_advanced_rpmb_req() 132 static int ufs_bsg_request(struct bsg_job *job) in ufs_bsg_request()
|