Home
last modified time | relevance | path

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

/drivers/gpu/drm/xe/
A Dxe_guc_ct.c290 h2g->info.space = CIRC_SPACE(h2g->info.tail, h2g->info.head, in guc_ct_ctb_h2g_init()
558 struct guc_ctb *h2g = &ct->ctbs.h2g; in h2g_has_room() local
565 if (h2g->info.head > h2g->info.size) { in h2g_has_room()
572 h2g->info.head, h2g->info.size); in h2g_has_room()
577 h2g->info.space = CIRC_SPACE(h2g->info.tail, h2g->info.head, in h2g_has_room()
711 struct guc_ctb *h2g = &ct->ctbs.h2g; in h2g_write() local
761 desc_write(xe, h2g, tail, h2g->info.tail); in h2g_write()
803 desc_write(xe, h2g, tail, h2g->info.tail); in h2g_write()
806 desc_read(xe, h2g, head), h2g->info.tail); in h2g_write()
921 struct guc_ctb *h2g = &ct->ctbs.h2g; in guc_ct_send_locked() local
[all …]
A Dxe_guc_ct_types.h71 struct guc_ctb_snapshot h2g; member
138 struct guc_ctb h2g; member
A Dxe_guc_submit.c380 struct guc_update_exec_queue_policy h2g; member
385 size_t bytes = sizeof(policy->h2g.header) + in __guc_exec_queue_policy_action_size()
386 (sizeof(policy->h2g.klv[0]) * policy->count); in __guc_exec_queue_policy_action_size()
394 policy->h2g.header.action = in __guc_exec_queue_policy_start_klv()
396 policy->h2g.header.guc_id = guc_id; in __guc_exec_queue_policy_start_klv()
406 policy->h2g.klv[policy->count].kl = \
410 policy->h2g.klv[policy->count].value = data; \
447 xe_guc_ct_send(&guc->ct, (u32 *)&policy.h2g, in init_policies()
458 xe_guc_ct_send(&guc->ct, (u32 *)&policy.h2g, in set_min_preemption_timeout()
/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_submission.c2668 struct guc_update_context_policy h2g; member
2673 size_t bytes = sizeof(policy->h2g.header) + in __guc_context_policy_action_size()
2682 policy->h2g.header.ctx_id = guc_id; in __guc_context_policy_start_klv()
2690 policy->h2g.klv[policy->count].kl = \
2693 policy->h2g.klv[policy->count].value = data; \
4681 struct guc_update_scheduling_policy h2g; member
4686 u32 *start = (void *)&policy->h2g; in __guc_scheduling_policy_action_size()
4687 u32 *end = policy->h2g.data + policy->num_words; in __guc_scheduling_policy_action_size()
4696 policy->max_words = ARRAY_SIZE(policy->h2g.data); in __guc_scheduling_policy_start_klv()
4706 u32 *klv_ptr = policy->h2g.data + policy->num_words; in __guc_scheduling_policy_add_klv()
[all …]
A 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()

Completed in 29 milliseconds