Lines Matching defs:priority
44 * An item with priority "i" is added to bucket[i]. The lists are then
60 struct list_head *item, unsigned priority)
65 * with the same priority, i.e. it must be stable.
67 list_add_tail(item, &b->bucket[min(priority, RADEON_CS_MAX_PRIORITY)]);
107 unsigned priority;
120 * Also, the buffers used for write have a higher priority than
124 priority = (r->flags & RADEON_RELOC_PRIO_MASK) * 2
146 priority = RADEON_CS_MAX_PRIORITY;
190 priority);
209 static int radeon_cs_get_ring(struct radeon_cs_parser *p, u32 ring, s32 priority)
211 p->priority = priority;
222 if (p->priority > 0)
231 if (p->priority > 0)
245 /* TODO: only use the low priority ring for now */
277 s32 priority = 0;
365 priority = (s32)p->chunks[i].kdata[2];
377 if (radeon_cs_get_ring(p, ring, priority))