Lines Matching defs:id
1712 request->ctx ? request->ctx->id : 0,
1721 if (request->ctx && request->ctx->id != DEFAULT_CONTEXT_ID)
3815 int id, int size, int align)
3821 if (dev_priv->mm.phys_objs[id - 1] || !size)
3828 phys_obj->id = id;
3836 dev_priv->mm.phys_objs[id - 1] = phys_obj;
3844 static void i915_gem_free_phys_object(struct drm_device *dev, int id)
3849 if (!dev_priv->mm.phys_objs[id - 1])
3852 phys_obj = dev_priv->mm.phys_objs[id - 1];
3859 dev_priv->mm.phys_objs[id - 1] = NULL;
3905 int id,
3913 if (id > I915_MAX_PHYS_OBJECT)
3917 if (obj->phys_obj->id == id)
3923 if (!dev_priv->mm.phys_objs[id - 1]) {
3924 ret = i915_gem_init_phys_object(dev, id,
3927 DRM_ERROR("failed to init phys object %d size: %lu\n", id, obj->base.size);
3933 obj->phys_obj = dev_priv->mm.phys_objs[id - 1];