Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_ct.c221 static void guc_ct_ctb_h2g_init(struct xe_device *xe, struct guc_ctb *h2g, in guc_ct_ctb_h2g_init() argument
224 h2g->info.size = CTB_H2G_BUFFER_SIZE / sizeof(u32); in guc_ct_ctb_h2g_init()
225 h2g->info.resv_space = 0; in guc_ct_ctb_h2g_init()
226 h2g->info.tail = 0; in guc_ct_ctb_h2g_init()
227 h2g->info.head = 0; in guc_ct_ctb_h2g_init()
228 h2g->info.space = CIRC_SPACE(h2g->info.tail, h2g->info.head, in guc_ct_ctb_h2g_init()
229 h2g->info.size) - in guc_ct_ctb_h2g_init()
230 h2g->info.resv_space; in guc_ct_ctb_h2g_init()
231 h2g->info.broken = false; in guc_ct_ctb_h2g_init()
233 h2g->desc = *map; in guc_ct_ctb_h2g_init()
[all …]
Dxe_guc_ct_types.h72 struct guc_ctb_snapshot h2g; member
105 struct guc_ctb h2g; member
Dxe_guc_submit.c365 struct guc_update_exec_queue_policy h2g; member
370 size_t bytes = sizeof(policy->h2g.header) + in __guc_exec_queue_policy_action_size()
371 (sizeof(policy->h2g.klv[0]) * policy->count); in __guc_exec_queue_policy_action_size()
379 policy->h2g.header.action = in __guc_exec_queue_policy_start_klv()
381 policy->h2g.header.guc_id = guc_id; in __guc_exec_queue_policy_start_klv()
391 policy->h2g.klv[policy->count].kl = \
395 policy->h2g.klv[policy->count].value = data; \
426 xe_guc_ct_send(&guc->ct, (u32 *)&policy.h2g, in init_policies()
437 xe_guc_ct_send(&guc->ct, (u32 *)&policy.h2g, in set_min_preemption_timeout()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.c2610 struct guc_update_context_policy h2g; member
2615 size_t bytes = sizeof(policy->h2g.header) + in __guc_context_policy_action_size()
2616 (sizeof(policy->h2g.klv[0]) * policy->count); in __guc_context_policy_action_size()
2623 policy->h2g.header.action = INTEL_GUC_ACTION_HOST2GUC_UPDATE_CONTEXT_POLICIES; in __guc_context_policy_start_klv()
2624 policy->h2g.header.ctx_id = guc_id; in __guc_context_policy_start_klv()
2632 policy->h2g.klv[policy->count].kl = \
2635 policy->h2g.klv[policy->count].value = data; \
2651 return guc_submission_send_busy_loop(guc, (u32 *)&policy->h2g, in MAKE_CONTEXT_POLICY_ADD()
4612 struct guc_update_scheduling_policy h2g; member
4617 u32 *start = (void *)&policy->h2g; in __guc_scheduling_policy_action_size()
[all …]
Dintel_guc_ct.c651 bool h2g = h2g_has_room(ct, h2g_dw); in has_room_nb() local
656 if (unlikely(!h2g || !g2h)) { in has_room_nb()