Lines Matching refs: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
145 priority = RADEON_CS_MAX_PRIORITY;
189 priority);
208 static int radeon_cs_get_ring(struct radeon_cs_parser *p, u32 ring, s32 priority)
210 p->priority = priority;
221 if (p->priority > 0)
230 if (p->priority > 0)
244 /* TODO: only use the low priority ring for now */
276 s32 priority = 0;
364 priority = (s32)p->chunks[i].kdata[2];
376 if (radeon_cs_get_ring(p, ring, priority))