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.c346 static void guc_ct_ctb_g2h_init(struct xe_device *xe, struct guc_ctb *g2h, in guc_ct_ctb_g2h_init() argument
349 g2h->info.size = CTB_G2H_BUFFER_SIZE / sizeof(u32); in guc_ct_ctb_g2h_init()
350 g2h->info.resv_space = G2H_ROOM_BUFFER_SIZE / sizeof(u32); in guc_ct_ctb_g2h_init()
351 g2h->info.head = 0; in guc_ct_ctb_g2h_init()
352 g2h->info.tail = 0; in guc_ct_ctb_g2h_init()
353 g2h->info.space = CIRC_SPACE(g2h->info.tail, g2h->info.head, in guc_ct_ctb_g2h_init()
354 g2h->info.size) - in guc_ct_ctb_g2h_init()
355 g2h->info.resv_space; in guc_ct_ctb_g2h_init()
356 g2h->info.broken = false; in guc_ct_ctb_g2h_init()
358 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.c653 bool g2h = g2h_has_room(ct, g2h_dw); in has_room_nb() local
657 if (unlikely(!h2g || !g2h)) { in has_room_nb()
662 if (!g2h) in has_room_nb()