Lines Matching refs:new_offset
185 u32 new_offset) in intel_adjust_tile_offset() argument
191 WARN_ON(new_offset & (tile_size - 1)); in intel_adjust_tile_offset()
192 WARN_ON(new_offset > old_offset); in intel_adjust_tile_offset()
194 tiles = (old_offset - new_offset) / tile_size; in intel_adjust_tile_offset()
203 return new_offset; in intel_adjust_tile_offset()
211 u32 old_offset, u32 new_offset) in intel_adjust_aligned_offset() argument
216 drm_WARN_ON(&i915->drm, new_offset > old_offset); in intel_adjust_aligned_offset()
234 old_offset, new_offset); in intel_adjust_aligned_offset()
238 *y = (old_offset - new_offset) / pitch; in intel_adjust_aligned_offset()
239 *x = ((old_offset - new_offset) - *y * pitch) / cpp; in intel_adjust_aligned_offset()
242 return new_offset; in intel_adjust_aligned_offset()
252 u32 old_offset, u32 new_offset) in intel_plane_adjust_aligned_offset() argument
257 old_offset, new_offset); in intel_plane_adjust_aligned_offset()