Searched refs:WQ_SIZE (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_guc_submit_types.h | 26 #define WQ_SIZE (PARALLEL_SCRATCH_SIZE / 2) macro 27 #define WQ_OFFSET (PARALLEL_SCRATCH_SIZE - WQ_SIZE) 61 u32 wq[WQ_SIZE / sizeof(u32)]; 135 u32 wq[WQ_SIZE / sizeof(u32)];
|
D | xe_guc_submit.c | 537 info.wq_size = WQ_SIZE; in register_exec_queue() 541 xe_map_memset(xe, &map, 0, 0, PARALLEL_SCRATCH_SIZE - WQ_SIZE); in register_exec_queue() 564 return (WQ_SIZE - q->guc->wqi_tail); in wq_space_until_wrap() 575 CIRC_SPACE(q->guc->wqi_tail, q->guc->wqi_head, WQ_SIZE) in wq_wait_for_space() 651 xe_assert(xe, q->guc->wqi_tail <= WQ_SIZE); in wq_item_append() 2043 i = (i + sizeof(u32)) % WQ_SIZE) in guc_exec_queue_wq_snapshot_capture() 2065 i = (i + sizeof(u32)) % WQ_SIZE) in guc_exec_queue_wq_snapshot_print()
|
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_wq.c | 34 #define WQ_SIZE(wq) ((wq)->q_depth * (wq)->wqebb_size) macro 450 num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; in alloc_wq_pages()
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_submission.c | 426 #define WQ_SIZE (PARENT_SCRATCH_SIZE / 2) macro 427 #define WQ_OFFSET (PARENT_SCRATCH_SIZE - WQ_SIZE) 446 u32 wq[WQ_SIZE / sizeof(u32)]; 504 CIRC_SPACE(ce->parallel.guc.wqi_tail, ce->parallel.guc.wqi_head, WQ_SIZE) in get_wq_pointer() 816 return (WQ_SIZE - ce->parallel.guc.wqi_tail); in wq_space_until_wrap() 821 BUILD_BUG_ON(!is_power_of_2(WQ_SIZE)); in write_wqi() 829 (WQ_SIZE - 1); in write_wqi() 2777 desc->wq_size = WQ_SIZE; in prepare_context_registration_info_v69() 2854 info->wq_size = WQ_SIZE; in prepare_context_registration_info_v70()
|