Home
last modified time | relevance | path

Searched refs:GUC_CTB_HDR_LEN (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/abi/
Dguc_communication_ctb_abi.h82 #define GUC_CTB_HDR_LEN 1u macro
83 #define GUC_CTB_MSG_MIN_LEN GUC_CTB_HDR_LEN
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/abi/
Dguc_communication_ctb_abi.h84 #define GUC_CTB_HDR_LEN 1u macro
85 #define GUC_CTB_MSG_MIN_LEN GUC_CTB_HDR_LEN
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c508 GEM_BUG_ON(atomic_read(&ctb->space) < len + GUC_CTB_HDR_LEN); in ct_write()
509 atomic_sub(len + GUC_CTB_HDR_LEN, &ctb->space); in ct_write()
693 ret = has_room_nb(ct, len + GUC_CTB_HDR_LEN, g2h_len_dw); in ct_send_nb()
728 GEM_BUG_ON(len > GUC_CTB_HXG_MSG_MAX_LEN - GUC_CTB_HDR_LEN); in ct_send()
743 if (unlikely(!h2g_has_room(ct, len + GUC_CTB_HDR_LEN) || in ct_send()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_ct.c541 #define H2G_CT_HEADERS (GUC_CTB_HDR_LEN + 1) /* one DW CTB header and one DW HxG header */
555 full_len = len + GUC_CTB_HDR_LEN; in h2g_write()
686 ret = has_room(ct, len + GUC_CTB_HDR_LEN, g2h_len); in __guc_ct_send_locked()
739 !h2g_has_room(ct, len + GUC_CTB_HDR_LEN))) { in guc_ct_send_locked()
748 len + GUC_CTB_HDR_LEN); in guc_ct_send_locked()