Searched refs:h2g (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_guc_ct.c | 272 h2g->info.space = CIRC_SPACE(h2g->info.tail, h2g->info.head, in guc_ct_ctb_h2g_init() 522 struct guc_ctb *h2g = &ct->ctbs.h2g; in h2g_has_room() local 529 if (h2g->info.head > h2g->info.size) { in h2g_has_room() 536 h2g->info.head, h2g->info.size); in h2g_has_room() 541 h2g->info.space = CIRC_SPACE(h2g->info.tail, h2g->info.head, in h2g_has_room() 634 struct guc_ctb *h2g = &ct->ctbs.h2g; in h2g_write() local 684 desc_write(xe, h2g, tail, h2g->info.tail); in h2g_write() 719 h2g->info.tail = (tail + full_len) % h2g->info.size; in h2g_write() 723 desc_write(xe, h2g, tail, h2g->info.tail); in h2g_write() 726 desc_read(xe, h2g, head), h2g->info.tail); in h2g_write() [all …]
|
| H A D | xe_guc_ct_types.h | 70 struct guc_ctb_snapshot h2g; member 125 struct guc_ctb h2g; member
|
| H A D | xe_guc_submit.c | 367 struct guc_update_exec_queue_policy h2g; member 372 size_t bytes = sizeof(policy->h2g.header) + in __guc_exec_queue_policy_action_size() 373 (sizeof(policy->h2g.klv[0]) * policy->count); in __guc_exec_queue_policy_action_size() 381 policy->h2g.header.action = in __guc_exec_queue_policy_start_klv() 383 policy->h2g.header.guc_id = guc_id; in __guc_exec_queue_policy_start_klv() 393 policy->h2g.klv[policy->count].kl = \ 397 policy->h2g.klv[policy->count].value = data; \ 434 xe_guc_ct_send(&guc->ct, (u32 *)&policy.h2g, in init_policies() 445 xe_guc_ct_send(&guc->ct, (u32 *)&policy.h2g, in set_min_preemption_timeout()
|
| /linux-6.15/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_submission.c | 2668 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; \ 4670 struct guc_update_scheduling_policy h2g; member 4675 u32 *start = (void *)&policy->h2g; in __guc_scheduling_policy_action_size() 4676 u32 *end = policy->h2g.data + policy->num_words; in __guc_scheduling_policy_action_size() 4685 policy->max_words = ARRAY_SIZE(policy->h2g.data); in __guc_scheduling_policy_start_klv() 4695 u32 *klv_ptr = policy->h2g.data + policy->num_words; in __guc_scheduling_policy_add_klv() [all …]
|
| H A D | intel_guc_ct.c | 651 bool h2g = h2g_has_room(ct, h2g_dw); in has_room_nb() local 656 if (unlikely(!h2g || !g2h)) { in has_room_nb()
|