Home
last modified time | relevance | path

Searched refs:g2h_len (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_ct.c479 static bool g2h_has_room(struct xe_guc_ct *ct, u32 g2h_len) in g2h_has_room() argument
481 if (!g2h_len) in g2h_has_room()
486 return ct->ctbs.g2h.info.space > g2h_len; in g2h_has_room()
489 static int has_room(struct xe_guc_ct *ct, u32 cmd_len, u32 g2h_len) in has_room() argument
493 if (!g2h_has_room(ct, g2h_len) || !h2g_has_room(ct, cmd_len)) in has_room()
505 static void __g2h_reserve_space(struct xe_guc_ct *ct, u32 g2h_len, u32 num_g2h) in __g2h_reserve_space() argument
507 xe_gt_assert(ct_to_gt(ct), g2h_len <= ct->ctbs.g2h.info.space); in __g2h_reserve_space()
508 xe_gt_assert(ct_to_gt(ct), (!g2h_len && !num_g2h) || in __g2h_reserve_space()
509 (g2h_len && num_g2h)); in __g2h_reserve_space()
511 if (g2h_len) { in __g2h_reserve_space()
[all …]
Dxe_guc_ct.h43 u32 g2h_len, u32 num_g2h);
45 u32 g2h_len, u32 num_g2h);
Dxe_guc_submit.c666 u32 g2h_len = 0; in submit_exec_queue() local
685 g2h_len = G2H_LEN_DW_SCHED_CONTEXT_MODE_SET; in submit_exec_queue()
700 xe_guc_ct_send(&guc->ct, action, len, g2h_len, num_g2h); in submit_exec_queue()