Home
last modified time | relevance | path

Searched refs:job_count (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/imagination/
H A Dpvr_job.c393 u32 *job_count, in prepare_job_syncs_for_each() argument
396 for (u32 i = 0; i < *job_count; i++) { in prepare_job_syncs_for_each()
401 *job_count = i; in prepare_job_syncs_for_each()
473 pvr_job_data_fini(struct pvr_job_data *job_data, u32 job_count) in pvr_job_data_fini() argument
475 for (u32 i = 0; i < job_count; i++) { in pvr_job_data_fini()
493 u32 *job_count, in pvr_job_data_init() argument
498 for (; i < *job_count; i++) { in pvr_job_data_init()
504 *job_count = i; in pvr_job_data_init()
512 *job_count = i; in pvr_job_data_init()
531 push_jobs(struct pvr_job_data *job_data, u32 job_count) in push_jobs() argument
[all …]
H A Dpvr_queue.c805 u32 job_count = 0; in pvr_queue_timedout_job() local
828 job_count++; in pvr_queue_timedout_job()
830 WARN_ON(atomic_read(&queue->in_flight_job_count) != job_count); in pvr_queue_timedout_job()
836 if (!job_count) { in pvr_queue_timedout_job()
839 atomic_set(&queue->in_flight_job_count, job_count); in pvr_queue_timedout_job()
/linux/include/drm/
H A Dspsc_queue.h45 atomic_t job_count; member
52 atomic_set(&queue->job_count, 0); in spsc_queue_init()
62 return atomic_read(&queue->job_count); in spsc_queue_count()
75 atomic_inc(&queue->job_count); in spsc_queue_push()
116 atomic_dec(&queue->job_count); in spsc_queue_pop()
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-core.c386 if (refcount_read(&mdp->job_count)) { in mdp_suspend()
388 !refcount_read(&mdp->job_count), in mdp_suspend()
393 __func__, refcount_read(&mdp->job_count)); in mdp_suspend()
H A Dmtk-mdp3-cmdq.c527 if (refcount_dec_and_test(&mdp->job_count)) { in mdp_auto_release_work()
578 if (refcount_dec_and_test(&mdp->job_count)) in mdp_handle_cmdq_callback()
727 refcount_set(&mdp->job_count, pp_used); in mdp_cmdq_send()
729 refcount_set(&mdp->job_count, 0); in mdp_cmdq_send()
767 refcount_set(&mdp->job_count, 0); in mdp_cmdq_send()
H A Dmtk-mdp3-core.h137 refcount_t job_count; member
H A Dmtk-mdp3-m2m.c107 if (refcount_read(&ctx->mdp_dev->job_count)) { in mdp_m2m_device_run()
109 !refcount_read(&ctx->mdp_dev->job_count), in mdp_m2m_device_run()
114 refcount_read(&ctx->mdp_dev->job_count)); in mdp_m2m_device_run()