Lines Matching refs:new_offset
861 u32 new_offset) in intel_adjust_tile_offset() argument
867 WARN_ON(new_offset & (tile_size - 1)); in intel_adjust_tile_offset()
868 WARN_ON(new_offset > old_offset); in intel_adjust_tile_offset()
870 tiles = (old_offset - new_offset) / tile_size; in intel_adjust_tile_offset()
879 return new_offset; in intel_adjust_tile_offset()
886 u32 new_offset) in intel_adjust_linear_offset() argument
890 *y = (old_offset - new_offset) / pitch; in intel_adjust_linear_offset()
891 *x = ((old_offset - new_offset) - *y * pitch) / cpp; in intel_adjust_linear_offset()
893 return new_offset; in intel_adjust_linear_offset()
901 u32 old_offset, u32 new_offset) in intel_adjust_aligned_offset() argument
906 drm_WARN_ON(&i915->drm, new_offset > old_offset); in intel_adjust_aligned_offset()
924 old_offset, new_offset); in intel_adjust_aligned_offset()
927 old_offset, new_offset); in intel_adjust_aligned_offset()
930 return new_offset; in intel_adjust_aligned_offset()
940 u32 old_offset, u32 new_offset) in intel_plane_adjust_aligned_offset() argument
945 old_offset, new_offset); in intel_plane_adjust_aligned_offset()