Home
last modified time | relevance | path

Searched refs:num_rq_list (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/scheduler/
Dsched_entity.c53 unsigned int num_rq_list, in drm_sched_entity_init() argument
58 if (!(entity && rq_list && (num_rq_list == 0 || rq_list[0]))) in drm_sched_entity_init()
65 entity->num_rq_list = num_rq_list; in drm_sched_entity_init()
66 entity->rq_list = kcalloc(num_rq_list, sizeof(struct drm_sched_rq *), in drm_sched_entity_init()
71 for (i = 0; i < num_rq_list; ++i) in drm_sched_entity_init()
74 if (num_rq_list) in drm_sched_entity_init()
139 for (i = 0; i < entity->num_rq_list; ++i) { in drm_sched_entity_get_free_sched()
376 for (i = 0; i < entity->num_rq_list; ++i) in drm_sched_entity_set_priority()
489 if (spsc_queue_count(&entity->job_queue) || entity->num_rq_list <= 1) in drm_sched_entity_select_rq()
/Linux-v5.4/include/drm/
Dgpu_scheduler.h83 unsigned int num_rq_list; member
313 unsigned int num_rq_list,