Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_ct.c427 static void guc_ct_ctb_g2h_init(struct xe_device *xe, struct guc_ctb *g2h, in guc_ct_ctb_g2h_init() argument
430 g2h->info.size = CTB_G2H_BUFFER_DWORDS; in guc_ct_ctb_g2h_init()
431 g2h->info.resv_space = G2H_ROOM_BUFFER_DWORDS; in guc_ct_ctb_g2h_init()
432 g2h->info.head = 0; in guc_ct_ctb_g2h_init()
433 g2h->info.tail = 0; in guc_ct_ctb_g2h_init()
434 g2h->info.space = CIRC_SPACE(g2h->info.tail, g2h->info.head, in guc_ct_ctb_g2h_init()
435 g2h->info.size) - in guc_ct_ctb_g2h_init()
436 g2h->info.resv_space; in guc_ct_ctb_g2h_init()
437 g2h->info.broken = false; in guc_ct_ctb_g2h_init()
439 g2h->desc = IOSYS_MAP_INIT_OFFSET(map, CTB_DESC_SIZE); in guc_ct_ctb_g2h_init()
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c650 bool g2h = g2h_has_room(ct, g2h_dw); in has_room_nb() local
654 if (unlikely(!h2g || !g2h)) { in has_room_nb()
659 if (!g2h) in has_room_nb()