Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc.h190 u32 g2h_len_dw) in intel_guc_send_nb() argument
193 MAKE_SEND_FLAGS(g2h_len_dw)); in intel_guc_send_nb()
207 u32 g2h_len_dw, in intel_guc_send_busy_loop() argument
225 err = intel_guc_send_nb(guc, action, len, g2h_len_dw); in intel_guc_send_busy_loop()
A Dintel_guc_ct.c532 static inline bool g2h_has_room(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_has_room() argument
540 return !g2h_len_dw || atomic_read(&ctb->space) >= g2h_len_dw; in g2h_has_room()
543 static inline void g2h_reserve_space(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_reserve_space() argument
547 GEM_BUG_ON(!g2h_has_room(ct, g2h_len_dw)); in g2h_reserve_space()
549 if (g2h_len_dw) in g2h_reserve_space()
550 atomic_sub(g2h_len_dw, &ct->ctbs.recv.space); in g2h_reserve_space()
553 static inline void g2h_release_space(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_release_space() argument
555 atomic_add(g2h_len_dw, &ct->ctbs.recv.space); in g2h_release_space()
614 u32 g2h_len_dw = G2H_LEN_DW(flags); in ct_send_nb() local
620 ret = has_room_nb(ct, len + GUC_CTB_HDR_LEN, g2h_len_dw); in ct_send_nb()
[all …]
A Dintel_guc_submission.c558 u32 g2h_len_dw, in guc_submission_send_busy_loop() argument
566 GEM_BUG_ON(g2h_len_dw && !loop); in guc_submission_send_busy_loop()
568 if (g2h_len_dw) in guc_submission_send_busy_loop()
571 return intel_guc_send_busy_loop(guc, action, len, g2h_len_dw, loop); in guc_submission_send_busy_loop()
633 u32 g2h_len_dw = 0; in __guc_add_request() local
669 g2h_len_dw = G2H_LEN_DW_SCHED_CONTEXT_MODE_SET; in __guc_add_request()
675 err = intel_guc_send_nb(guc, action, len, g2h_len_dw); in __guc_add_request()

Completed in 19 milliseconds