Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_pagefault.c277 static bool get_pagefault(struct pf_queue *pf_queue, struct pagefault *pf) in get_pagefault() argument
282 spin_lock_irq(&pf_queue->lock); in get_pagefault()
283 if (pf_queue->tail != pf_queue->head) { in get_pagefault()
285 (pf_queue->data + pf_queue->tail); in get_pagefault()
303 pf_queue->tail = (pf_queue->tail + PF_MSG_LEN_DW) % in get_pagefault()
304 pf_queue->num_dw; in get_pagefault()
307 spin_unlock_irq(&pf_queue->lock); in get_pagefault()
312 static bool pf_queue_full(struct pf_queue *pf_queue) in pf_queue_full() argument
314 lockdep_assert_held(&pf_queue->lock); in pf_queue_full()
316 return CIRC_SPACE(pf_queue->head, pf_queue->tail, in pf_queue_full()
[all …]
Dxe_gt_types.h247 struct pf_queue { struct
273 } pf_queue[NUM_PF_QUEUE]; member