Home
last modified time | relevance | path

Searched refs:ctbs (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c142 spin_lock_init(&ct->ctbs.send.lock); in intel_guc_ct_init_early()
143 spin_lock_init(&ct->ctbs.recv.lock); in intel_guc_ct_init_early()
293 guc_ct_buffer_init(&ct->ctbs.send, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()
304 guc_ct_buffer_init(&ct->ctbs.recv, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()
346 GEM_BUG_ON(blob != ct->ctbs.send.desc); in intel_guc_ct_enable()
349 guc_ct_buffer_reset(&ct->ctbs.send); in intel_guc_ct_enable()
350 guc_ct_buffer_reset(&ct->ctbs.recv); in intel_guc_ct_enable()
356 desc = base + ptrdiff(ct->ctbs.recv.desc, blob); in intel_guc_ct_enable()
357 cmds = base + ptrdiff(ct->ctbs.recv.cmds, blob); in intel_guc_ct_enable()
358 size = ct->ctbs.recv.size * 4; in intel_guc_ct_enable()
[all …]
Dintel_guc_ct.h70 } ctbs; member
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_ct.c266 size = ct->ctbs.h2g.info.size * sizeof(u32); in guc_ct_ctb_h2g_register()
294 size = ct->ctbs.g2h.info.size * sizeof(u32); in guc_ct_ctb_g2h_register()
398 guc_ct_ctb_h2g_init(xe, &ct->ctbs.h2g, &ct->bo->vmap); in xe_guc_ct_enable()
399 guc_ct_ctb_g2h_init(xe, &ct->ctbs.g2h, &ct->bo->vmap); in xe_guc_ct_enable()
463 struct guc_ctb *h2g = &ct->ctbs.h2g; in h2g_has_room()
486 return ct->ctbs.g2h.info.space > g2h_len; in g2h_has_room()
502 ct->ctbs.h2g.info.space -= cmd_len; in h2g_reserve_space()
507 xe_gt_assert(ct_to_gt(ct), g2h_len <= ct->ctbs.g2h.info.space); in __g2h_reserve_space()
517 ct->ctbs.g2h.info.space -= g2h_len; in __g2h_reserve_space()
525 xe_gt_assert(ct_to_gt(ct), ct->ctbs.g2h.info.space + g2h_len <= in __g2h_release_space()
[all …]
Dxe_guc_ct_types.h108 } ctbs; member
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_gpu_error.c1760 gt_record_guc_ctb(error_uc->guc.ctb + 0, &uc->guc.ct.ctbs.send, in gt_record_uc()
1761 uc->guc.ct.ctbs.send.desc, (struct intel_guc *)&uc->guc); in gt_record_uc()
1762 gt_record_guc_ctb(error_uc->guc.ctb + 1, &uc->guc.ct.ctbs.recv, in gt_record_uc()
1763 uc->guc.ct.ctbs.send.desc, (struct intel_guc *)&uc->guc); in gt_record_uc()