Searched refs:job_queue (Results 1 – 7 of 7) sorted by relevance
77 spsc_queue_init(&entity->job_queue); in drm_sched_entity_init()116 spsc_queue_count(&entity->job_queue) == 0) in drm_sched_entity_is_idle()131 if (spsc_queue_peek(&entity->job_queue) == NULL) in drm_sched_entity_is_ready()223 while ((job = to_drm_sched_job(spsc_queue_pop(&entity->job_queue)))) { in drm_sched_entity_kill_jobs()270 if (spsc_queue_count(&entity->job_queue)) { in drm_sched_entity_fini()416 sched_job = to_drm_sched_job(spsc_queue_peek(&entity->job_queue)); in drm_sched_entity_pop_job()435 spsc_queue_pop(&entity->job_queue); in drm_sched_entity_pop_job()453 if (spsc_queue_count(&entity->job_queue) || entity->num_sched_list <= 1) in drm_sched_entity_select_rq()491 first = spsc_queue_push(&entity->job_queue, &sched_job->queue_node); in drm_sched_entity_push_job()
52 __entry->job_count = spsc_queue_count(&entity->job_queue);79 __entry->job_count = spsc_queue_count(&entity->job_queue);
211 INIT_LIST_HEAD(&wb_connector->job_queue); in drm_writeback_connector_init()309 list_add_tail(&job->list_entry, &wb_connector->job_queue); in drm_writeback_queue_job()374 job = list_first_entry_or_null(&wb_connector->job_queue, in drm_writeback_signal_completion()
58 struct list_head job_queue; member
92 struct spsc_queue job_queue; member
106 struct list_head job_queue; member266 if (list_empty(&m2m_dev->job_queue)) { in v4l2_m2m_try_run()278 m2m_dev->curr_ctx = list_first_entry(&m2m_dev->job_queue, in v4l2_m2m_try_run()366 list_add_tail(&m2m_ctx->queue, &m2m_dev->job_queue); in __v4l2_m2m_try_queue()1141 INIT_LIST_HEAD(&m2m_dev->job_queue); in v4l2_m2m_init()
262 while ((s_job = to_drm_sched_job(spsc_queue_pop(&s_entity->job_queue)))) { in amdgpu_job_stop_all_jobs_on_sched()