Searched refs:context_lookup (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_submission.c | 518 struct intel_context *ce = xa_load(&guc->context_lookup, id); in __get_context() 588 xa_lock_irqsave(&guc->context_lookup, flags); in set_ctx_id_mapping() 589 __xa_store(&guc->context_lookup, id, ce, GFP_ATOMIC); in set_ctx_id_mapping() 590 xa_unlock_irqrestore(&guc->context_lookup, flags); in set_ctx_id_mapping() 606 xa_lock_irqsave(&guc->context_lookup, flags); in clr_ctx_id_mapping() 607 __xa_erase(&guc->context_lookup, id); in clr_ctx_id_mapping() 608 xa_unlock_irqrestore(&guc->context_lookup, flags); in clr_ctx_id_mapping() 1083 xa_lock_irqsave(&guc->context_lookup, flags); in scrub_guc_desc_for_outstanding_g2h() 1084 xa_for_each(&guc->context_lookup, index, ce) { in scrub_guc_desc_for_outstanding_g2h() 1092 xa_unlock(&guc->context_lookup); in scrub_guc_desc_for_outstanding_g2h() [all …]
|
D | intel_guc.h | 221 struct xarray context_lookup; member
|