Home
last modified time | relevance | path

Searched refs:g2h_len_dw (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc.h298 u32 g2h_len_dw) in intel_guc_send_nb()
301 MAKE_SEND_FLAGS(g2h_len_dw)); in intel_guc_send_nb()
315 u32 g2h_len_dw, in intel_guc_send_busy_loop()
333 err = intel_guc_send_nb(guc, action, len, g2h_len_dw); in intel_guc_send_busy_loop()
297 intel_guc_send_nb(struct intel_guc *guc, const u32 *action, u32 len, u32 g2h_len_dw) intel_guc_send_nb() argument
312 intel_guc_send_busy_loop(struct intel_guc *guc, const u32 *action, u32 len, u32 g2h_len_dw, bool loop) intel_guc_send_busy_loop() argument
H A Dintel_guc_ct.c570 static inline bool g2h_has_room(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_has_room() argument
578 return !g2h_len_dw || atomic_read(&ctb->space) >= g2h_len_dw; in g2h_has_room()
581 static inline void g2h_reserve_space(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_reserve_space() argument
585 GEM_BUG_ON(!g2h_has_room(ct, g2h_len_dw)); in g2h_reserve_space()
587 if (g2h_len_dw) in g2h_reserve_space()
588 atomic_sub(g2h_len_dw, &ct->ctbs.recv.space); in g2h_reserve_space()
591 static inline void g2h_release_space(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_release_space() argument
593 atomic_add(g2h_len_dw, &ct->ctbs.recv.space); in g2h_release_space()
660 u32 g2h_len_dw in ct_send_nb() local
[all...]
H A Dintel_guc_submission.c612 u32 g2h_len_dw, in guc_submission_send_busy_loop()
616 * We always loop when a send requires a reply (i.e. g2h_len_dw > 0), in guc_submission_send_busy_loop()
620 GEM_BUG_ON(g2h_len_dw && !loop); in guc_submission_send_busy_loop()
622 if (g2h_len_dw) in guc_submission_send_busy_loop()
625 return intel_guc_send_busy_loop(guc, action, len, g2h_len_dw, loop); in guc_submission_send_busy_loop()
688 u32 g2h_len_dw = 0; in __guc_add_request() local
730 g2h_len_dw = G2H_LEN_DW_SCHED_CONTEXT_MODE_SET; in __guc_add_request()
736 err = intel_guc_send_nb(guc, action, len, g2h_len_dw); in __guc_add_request()
609 guc_submission_send_busy_loop(struct intel_guc *guc, const u32 *action, u32 len, u32 g2h_len_dw, bool loop) guc_submission_send_busy_loop() argument

Completed in 9 milliseconds