Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_ct.c239 static void guc_ct_ctb_g2h_init(struct xe_device *xe, struct guc_ctb *g2h, in guc_ct_ctb_g2h_init() argument
242 g2h->info.size = CTB_G2H_BUFFER_SIZE / sizeof(u32); in guc_ct_ctb_g2h_init()
243 g2h->info.resv_space = G2H_ROOM_BUFFER_SIZE / sizeof(u32); in guc_ct_ctb_g2h_init()
244 g2h->info.head = 0; in guc_ct_ctb_g2h_init()
245 g2h->info.tail = 0; in guc_ct_ctb_g2h_init()
246 g2h->info.space = CIRC_SPACE(g2h->info.tail, g2h->info.head, in guc_ct_ctb_g2h_init()
247 g2h->info.size) - in guc_ct_ctb_g2h_init()
248 g2h->info.resv_space; in guc_ct_ctb_g2h_init()
249 g2h->info.broken = false; in guc_ct_ctb_g2h_init()
251 g2h->desc = IOSYS_MAP_INIT_OFFSET(map, CTB_DESC_SIZE); in guc_ct_ctb_g2h_init()
[all …]
Dxe_guc_ct_types.h70 struct guc_ctb_snapshot g2h; member
107 struct guc_ctb g2h; member
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c652 bool g2h = g2h_has_room(ct, g2h_dw); in has_room_nb() local
656 if (unlikely(!h2g || !g2h)) { in has_room_nb()
661 if (!g2h) in has_room_nb()