Lines Matching refs:fence_reg
71 obj->fence_reg = I915_FENCE_REG_NONE; in i915_gem_object_fence_lost()
1901 if (obj->fence_reg != I915_FENCE_REG_NONE) { in i915_gem_object_move_to_active()
1904 reg = &dev_priv->fence_regs[obj->fence_reg]; in i915_gem_object_move_to_active()
2534 int fence_reg; in i965_write_fence_reg() local
2539 fence_reg = FENCE_REG_SANDYBRIDGE_0; in i965_write_fence_reg()
2542 fence_reg = FENCE_REG_965_0; in i965_write_fence_reg()
2559 fence_reg += reg * 8; in i965_write_fence_reg()
2560 I915_WRITE64(fence_reg, val); in i965_write_fence_reg()
2561 POSTING_READ(fence_reg); in i965_write_fence_reg()
2690 int fence_reg = fence_number(dev_priv, fence); in i915_gem_object_update_fence() local
2704 i915_gem_write_fence(dev, fence_reg, enable ? obj : NULL); in i915_gem_object_update_fence()
2707 obj->fence_reg = fence_reg; in i915_gem_object_update_fence()
2711 obj->fence_reg = I915_FENCE_REG_NONE; in i915_gem_object_update_fence()
2743 if (obj->fence_reg == I915_FENCE_REG_NONE) in i915_gem_object_put_fence()
2746 fence = &dev_priv->fence_regs[obj->fence_reg]; in i915_gem_object_put_fence()
2819 if (obj->fence_reg != I915_FENCE_REG_NONE) { in i915_gem_object_get_fence()
2820 reg = &dev_priv->fence_regs[obj->fence_reg]; in i915_gem_object_get_fence()
3731 obj->fence_reg = I915_FENCE_REG_NONE; in i915_gem_object_init()