Lines Matching refs:stride
78 unsigned int stride = fence->stride; in i965_write_fence_reg() local
80 GEM_BUG_ON(!IS_ALIGNED(stride, 128)); in i965_write_fence_reg()
85 val |= (u64)((stride / 128) - 1) << fence_pitch_shift; in i965_write_fence_reg()
119 unsigned int stride = fence->stride; in i915_write_fence_reg() local
124 stride /= 128; in i915_write_fence_reg()
126 stride /= 512; in i915_write_fence_reg()
127 GEM_BUG_ON(!is_power_of_2(stride)); in i915_write_fence_reg()
133 val |= ilog2(stride) << I830_FENCE_PITCH_SHIFT; in i915_write_fence_reg()
153 unsigned int stride = fence->stride; in i830_write_fence_reg() local
159 val |= ilog2(stride / 128) << I830_FENCE_PITCH_SHIFT; in i830_write_fence_reg()
227 fence->stride = i915_gem_object_get_stride(vma->obj); in fence_update()