Searched refs:context_xa (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/gpu/drm/i915/
H A Di915_file_private.h63 * i915_gem_proto_context, reserve a slot in @context_xa but leave
66 * first check @context_xa. If it's there, we return the struct
80 /** @context_xa: xarray of fully created i915_gem_context
87 struct xarray context_xa; member in struct:drm_i915_file_private
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_throttle.c53 xa_for_each(&file_priv->context_xa, idx, ctx) {
H A Di915_gem_context.c324 ret = xa_alloc(&fpriv->context_xa, id, NULL, xa_limit_32b, GFP_KERNEL);
330 xa_erase(&fpriv->context_xa, *id);
1712 * the ctx in the context_xa.
1738 old = xa_store(&fpriv->context_xa, id, ctx, GFP_KERNEL);
1754 xa_init_flags(&file_priv->context_xa, XA_FLAGS_ALLOC1);
1778 xa_destroy(&file_priv->context_xa);
1797 xa_for_each(&file_priv->context_xa, idx, ctx)
1799 xa_destroy(&file_priv->context_xa);
2213 ctx = xa_load(&file_priv->context_xa, id);
2322 ret = xa_alloc(&ext_data.fpriv->context_xa,
[all...]
/linux-master/drivers/accel/ivpu/
H A Divpu_drv.c81 drm_WARN_ON(&vdev->drm, !xa_erase_irq(&vdev->context_xa, file_priv->ctx.id));
238 ret = xa_alloc_irq(&vdev->context_xa, &ctx_id, file_priv,
260 xa_erase_irq(&vdev->context_xa, ctx_id);
520 xa_init_flags(&vdev->context_xa, XA_FLAGS_ALLOC | XA_FLAGS_LOCK_IRQ);
596 xa_destroy(&vdev->context_xa);
607 xa_for_each(&vdev->context_xa, ctx_id, file_priv)
633 drm_WARN_ON(&vdev->drm, !xa_empty(&vdev->context_xa));
634 xa_destroy(&vdev->context_xa);
H A Divpu_mmu_context.c511 xa_lock(&vdev->context_xa);
513 file_priv = xa_load(&vdev->context_xa, ssid);
517 xa_unlock(&vdev->context_xa);
H A Divpu_drv.h121 struct xarray context_xa; member in struct:ivpu_device
H A Divpu_job.c174 xa_for_each(&vdev->context_xa, ctx_id, file_priv)
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Dmock_context.c97 err = xa_alloc(&fpriv->context_xa, &id, NULL, xa_limit_32b, GFP_KERNEL);

Completed in 204 milliseconds