Home
last modified time | relevance | path

Searched refs:context_lookup (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.c500 struct intel_context *ce = xa_load(&guc->context_lookup, id); in __get_context()
570 xa_lock_irqsave(&guc->context_lookup, flags); in set_ctx_id_mapping()
571 __xa_store(&guc->context_lookup, id, ce, GFP_ATOMIC); in set_ctx_id_mapping()
572 xa_unlock_irqrestore(&guc->context_lookup, flags); in set_ctx_id_mapping()
588 xa_lock_irqsave(&guc->context_lookup, flags); in clr_ctx_id_mapping()
589 __xa_erase(&guc->context_lookup, id); in clr_ctx_id_mapping()
590 xa_unlock_irqrestore(&guc->context_lookup, flags); in clr_ctx_id_mapping()
1059 xa_lock_irqsave(&guc->context_lookup, flags); in scrub_guc_desc_for_outstanding_g2h()
1060 xa_for_each(&guc->context_lookup, index, ce) { in scrub_guc_desc_for_outstanding_g2h()
1068 xa_unlock(&guc->context_lookup); in scrub_guc_desc_for_outstanding_g2h()
[all …]
Dintel_guc.h182 struct xarray context_lookup; member