Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c164 ctb->broken = false; in guc_ct_buffer_reset()
165 ctb->tail = 0; in guc_ct_buffer_reset()
166 ctb->head = 0; in guc_ct_buffer_reset()
167 space = CIRC_SPACE(ctb->tail, ctb->head, ctb->size) - ctb->resv_space; in guc_ct_buffer_reset()
179 ctb->desc = desc; in guc_ct_buffer_init()
180 ctb->cmds = cmds; in guc_ct_buffer_init()
507 ctb->tail = tail; in ct_write()
520 ctb->broken = true; in ct_write()
643 space = CIRC_SPACE(ctb->tail, head, ctb->size); in h2g_has_room()
985 ctb->head = head; in ct_read()
[all …]
/linux-6.15/drivers/gpu/drm/i915/
H A Di915_gpu_error.c678 const struct intel_ctb_coredump *ctb) in err_print_guc_ctb() argument
680 if (!ctb->size) in err_print_guc_ctb()
684 name, ctb->raw_status, ctb->raw_head, ctb->raw_tail, in err_print_guc_ctb()
685 ctb->head, ctb->tail, ctb->desc_offset, ctb->cmds_offset, ctb->size); in err_print_guc_ctb()
1719 if (!ctb || !ctb->desc) in gt_record_guc_ctb()
1722 saved->raw_status = ctb->desc->status; in gt_record_guc_ctb()
1723 saved->raw_head = ctb->desc->head; in gt_record_guc_ctb()
1724 saved->raw_tail = ctb->desc->tail; in gt_record_guc_ctb()
1725 saved->head = ctb->head; in gt_record_guc_ctb()
1726 saved->tail = ctb->tail; in gt_record_guc_ctb()
[all …]
H A Di915_gpu_error.h180 struct intel_ctb_coredump ctb[2]; member
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_guc_ct.c63 #define CT_DEAD(ct, ctb, reason_code) ct_dead_capture((ct), (ctb), CT_DEAD_##reason_code) argument
65 #define CT_DEAD(ct, ctb, reason) \ argument
67 struct guc_ctb *_ctb = (ctb); \
1645 xe_map_memcpy_from(xe, &snapshot->desc, &ctb->desc, 0, in guc_ctb_snapshot_capture()
1647 memcpy(&snapshot->info, &ctb->info, sizeof(struct guc_ctb_info)); in guc_ctb_snapshot_capture()
1683 if (ct->bo && snapshot->ctb) in guc_ct_snapshot_capture()
1726 if (snapshot->ctb) { in xe_guc_ct_snapshot_print()
1729 snapshot->ctb, 0, snapshot->ctb_size); in xe_guc_ct_snapshot_print()
1748 kfree(snapshot->ctb); in xe_guc_ct_snapshot_free()
1779 if (ctb) in ct_dead_capture()
[all …]
H A Dxe_guc_ct_types.h74 u32 *ctb; member