Searched refs:fence_regs (Results 1 – 5 of 5) sorted by relevance
201 if (i915_gem_object_needs_mb(dev_priv->fence_regs[reg].obj)) in i915_gem_write_fence()225 return fence - dev_priv->fence_regs; in fence_number()300 fence = &dev_priv->fence_regs[obj->fence_reg]; in i915_gem_object_put_fence()321 reg = &dev_priv->fence_regs[i]; in i915_find_fence_reg()386 reg = &dev_priv->fence_regs[obj->fence_reg]; in i915_gem_object_get_fence()440 dev_priv->fence_regs[obj->fence_reg].pin_count > in i915_gem_object_pin_fence()442 dev_priv->fence_regs[obj->fence_reg].pin_count++; in i915_gem_object_pin_fence()461 WARN_ON(dev_priv->fence_regs[obj->fence_reg].pin_count <= 0); in i915_gem_object_unpin_fence()462 dev_priv->fence_regs[obj->fence_reg].pin_count--; in i915_gem_object_unpin_fence()479 struct drm_i915_fence_reg *reg = &dev_priv->fence_regs[i]; in i915_gem_restore_fences()
1079 list_move_tail(&dev_priv->fence_regs[obj->fence_reg].lru_list, in i915_gem_execbuffer_move_to_active()
961 struct drm_i915_gem_object *obj = dev_priv->fence_regs[i].obj; in i915_gem_fence_regs_info()964 i, dev_priv->fence_regs[i].pin_count); in i915_gem_fence_regs_info()
1801 struct drm_i915_fence_reg fence_regs[I915_MAX_NUM_FENCES]; /* assume 965 */ member
5100 INIT_LIST_HEAD(&dev_priv->fence_regs[i].lru_list); in i915_gem_load()