Searched refs:fence_regs (Results 1 – 3 of 3) sorted by relevance
1904 reg = &dev_priv->fence_regs[obj->fence_reg]; in i915_gem_object_move_to_active()2135 struct drm_i915_fence_reg *reg = &dev_priv->fence_regs[i]; in i915_gem_restore_fences()2653 if (i915_gem_object_needs_mb(dev_priv->fence_regs[reg].obj)) in i915_gem_write_fence()2676 return fence - dev_priv->fence_regs; in fence_number()2746 fence = &dev_priv->fence_regs[obj->fence_reg]; in i915_gem_object_put_fence()2764 reg = &dev_priv->fence_regs[i]; in i915_find_fence_reg()2820 reg = &dev_priv->fence_regs[obj->fence_reg]; in i915_gem_object_get_fence()4167 INIT_LIST_HEAD(&dev_priv->fence_regs[i].lru_list); in i915_gem_load()
996 struct drm_i915_fence_reg fence_regs[I915_MAX_NUM_FENCES]; /* assume 965 */ member1618 dev_priv->fence_regs[obj->fence_reg].pin_count++; in i915_gem_object_pin_fence()1629 dev_priv->fence_regs[obj->fence_reg].pin_count--; in i915_gem_object_unpin_fence()
530 struct drm_i915_gem_object *obj = dev_priv->fence_regs[i].obj; in i915_gem_fence_regs_info()533 i, dev_priv->fence_regs[i].pin_count); in i915_gem_fence_regs_info()