Searched refs:wqi_size (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_guc_submit.c | 574 static int wq_wait_for_space(struct xe_exec_queue *q, u32 wqi_size) in wq_wait_for_space() argument 583 if (wqi_size > AVAILABLE_SPACE) { in wq_wait_for_space() 586 if (wqi_size > AVAILABLE_SPACE) { in wq_wait_for_space() 629 u32 wqi_size = (q->width + (WQ_HEADER_SIZE - 1)) * sizeof(u32); in wq_item_append() local 630 u32 len_dw = (wqi_size / sizeof(u32)) - 1; in wq_item_append() 633 if (wqi_size > wq_space_until_wrap(q)) { in wq_item_append() 637 if (wq_wait_for_space(q, wqi_size)) in wq_item_append() 652 xe_gt_assert(guc_to_gt(guc), i == wqi_size / sizeof(u32)); in wq_item_append() 656 xe_map_memcpy_to(xe, &map, 0, wqi, wqi_size); in wq_item_append() 657 q->guc->wqi_tail += wqi_size; in wq_item_append()
|
| /linux-6.15/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_submission.c | 496 static u32 *get_wq_pointer(struct intel_context *ce, u32 wqi_size) in get_wq_pointer() argument 505 if (wqi_size > AVAILABLE_SPACE) { in get_wq_pointer() 508 if (wqi_size > AVAILABLE_SPACE) in get_wq_pointer() 819 static void write_wqi(struct intel_context *ce, u32 wqi_size) in write_wqi() argument 828 ce->parallel.guc.wqi_tail = (ce->parallel.guc.wqi_tail + wqi_size) & in write_wqi() 854 unsigned int wqi_size = (ce->parallel.number_children + 4) * in __guc_wq_item_append() local 857 u32 len_dw = (wqi_size / sizeof(u32)) - 1; in __guc_wq_item_append() 867 if (wqi_size > wq_space_until_wrap(ce)) { in __guc_wq_item_append() 873 wqi = get_wq_pointer(ce, wqi_size); in __guc_wq_item_append() 888 write_wqi(ce, wqi_size); in __guc_wq_item_append()
|