Home
last modified time | relevance | path

Searched refs:guc_id (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.c391 return ce->guc_id.id == GUC_INVALID_CONTEXT_ID; in context_guc_id_invalid()
396 ce->guc_id.id = GUC_INVALID_CONTEXT_ID; in set_context_guc_id_invalid()
717 GEM_BUG_ON(!atomic_read(&ce->guc_id.ref)); in __guc_add_request()
740 action[len++] = ce->guc_id.id; in __guc_add_request()
747 action[len++] = ce->guc_id.id; in __guc_add_request()
861 GEM_BUG_ON(!atomic_read(&ce->guc_id.ref)); in __guc_wq_item_append()
864 GEM_BUG_ON(!ctx_id_mapped(ce_to_guc(ce), ce->guc_id.id)); in __guc_wq_item_append()
882 *wqi++ = FIELD_PREP(WQ_GUC_ID_MASK, ce->guc_id.id) | in __guc_wq_item_append()
992 if (unlikely(!ctx_id_mapped(guc, ce->guc_id.id) && in guc_dequeue_one_context()
2187 !ctx_id_mapped(guc, ce->guc_id.id); in need_tasklet()
[all …]
Dintel_guc_capture.c853 read += guc_capture_log_remove_dw(guc, buf, &hdr->guc_id); in guc_capture_log_get_data_hdr()
1037 new->guc_id = original->guc_id; in guc_capture_clone_node()
1241 node->guc_id = hdr.guc_id; in guc_capture_extract_reglists()
1409 i915_error_printf(ebuf, " GuC-Context-Id: 0x%08x\n", (node)->guc_id); \
1552 if (n->eng_inst == GUC_ID_TO_ENGINE_INSTANCE(engine->guc_id) && in intel_guc_capture_is_matching_engine()
1553 n->eng_class == GUC_ID_TO_ENGINE_CLASS(engine->guc_id) && in intel_guc_capture_is_matching_engine()
1554 n->guc_id == ce->guc_id.id && in intel_guc_capture_is_matching_engine()
1584 if (n->eng_inst == GUC_ID_TO_ENGINE_INSTANCE(ee->engine->guc_id) && in intel_guc_capture_get_matching_node()
1585 n->eng_class == GUC_ID_TO_ENGINE_CLASS(ee->engine->guc_id) && in intel_guc_capture_get_matching_node()
1586 n->guc_id == ce->guc_id.id && in intel_guc_capture_get_matching_node()
[all …]
Dguc_capture_fwif.h49 u32 guc_id; member
121 u32 guc_id; /* if type-instance, context index of hung context, else set to ~0 */ member
Dintel_guc_fwif.h153 #define GUC_ID_TO_ENGINE_CLASS(guc_id) \ argument
154 (((guc_id) & GUC_ENGINE_CLASS_MASK) >> GUC_ENGINE_CLASS_SHIFT)
155 #define GUC_ID_TO_ENGINE_INSTANCE(guc_id) \ argument
156 (((guc_id) & GUC_ENGINE_INSTANCE_MASK) >> GUC_ENGINE_INSTANCE_SHIFT)
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_trace.h93 __field(u16, guc_id)
104 __entry->guc_id = q->guc->id;
111 __entry->gt_id, __entry->width, __entry->guc_id,
213 __field(u16, guc_id)
225 __entry->guc_id = job->q->guc->id;
236 __entry->lrc_seqno, __entry->guc_id,
283 __field(u16, guc_id)
289 __entry->guc_id =
293 TP_printk("dev=%s, guc_id=%d, opcode=%u", __get_str(dev), __entry->guc_id,
Dxe_guc_submit.c377 u16 guc_id) in __guc_exec_queue_policy_start_klv() argument
381 policy->h2g.header.guc_id = guc_id; in __guc_exec_queue_policy_start_klv()
1792 g2h_exec_queue_lookup(struct xe_guc *guc, u32 guc_id) in g2h_exec_queue_lookup() argument
1797 if (unlikely(guc_id >= GUC_ID_MAX)) { in g2h_exec_queue_lookup()
1798 drm_err(&xe->drm, "Invalid guc_id %u", guc_id); in g2h_exec_queue_lookup()
1802 q = xa_load(&guc->submission_state.exec_queue_lookup, guc_id); in g2h_exec_queue_lookup()
1804 drm_err(&xe->drm, "Not engine present for guc_id %u", guc_id); in g2h_exec_queue_lookup()
1808 xe_assert(xe, guc_id >= q->guc->id); in g2h_exec_queue_lookup()
1809 xe_assert(xe, guc_id < (q->guc->id + q->width)); in g2h_exec_queue_lookup()
1867 u32 guc_id = msg[0]; in xe_guc_sched_done_handler() local
[all …]
Dxe_guc_fwif.h70 u32 guc_id; member
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_trace.h403 __field(u32, guc_id)
410 __entry->guc_id = ce->guc_id.id;
417 __entry->guc_id, __entry->pin_count,
Di915_gpu_error.c1657 engine->name, rq->fence.context, rq->fence.seqno, ce->guc_id.id); in capture_engine()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_context_types.h243 } guc_id; member
Dintel_context.c419 ce->guc_id.id = GUC_INVALID_CONTEXT_ID; in intel_context_init()
420 INIT_LIST_HEAD(&ce->guc_id.link); in intel_context_init()
Dintel_engine_types.h369 unsigned int guc_id; member
Dselftest_hangcheck.c782 rq->fence.seqno, rq->context->guc_id.id, err); in __igt_reset_engine()
1102 rq->fence.seqno, rq->context->guc_id.id, err); in __igt_reset_engines()
1112 rq->fence.seqno, rq->context->guc_id.id); in __igt_reset_engines()
Dintel_engine_cs.c490 engine->guc_id = MAKE_GUC_ID(guc_class, info->instance); in intel_engine_setup()