Lines Matching refs:priority
41 * @priority: priority of the entity
50 * For changing @priority later on at runtime see
60 enum drm_sched_priority priority,
73 entity->priority = priority;
90 /* The "priority" of an entity cannot exceed the number of run-queues of a
92 * the lowest priority available.
94 if (entity->priority >= sched_list[0]->num_rqs) {
95 drm_err(sched_list[0], "entity with out-of-bounds priority:%u num_rqs:%u\n",
96 entity->priority, sched_list[0]->num_rqs);
97 entity->priority = max_t(s32, (s32) sched_list[0]->num_rqs - 1,
100 entity->rq = sched_list[0]->sched_rq[entity->priority];
387 * drm_sched_entity_set_priority - Sets priority of the entity
390 * @priority: scheduler priority
392 * Update the priority of runqueus used for the entity.
395 enum drm_sched_priority priority)
398 entity->priority = priority;
558 rq = sched ? sched->sched_rq[entity->priority] : NULL;