Lines Matching refs:new_offset
391 u32 new_offset) in intel_adjust_tile_offset() argument
397 WARN_ON(new_offset & (tile_size - 1)); in intel_adjust_tile_offset()
398 WARN_ON(new_offset > old_offset); in intel_adjust_tile_offset()
400 tiles = (old_offset - new_offset) / tile_size; in intel_adjust_tile_offset()
409 return new_offset; in intel_adjust_tile_offset()
417 u32 old_offset, u32 new_offset) in intel_adjust_aligned_offset() argument
422 drm_WARN_ON(&i915->drm, new_offset > old_offset); in intel_adjust_aligned_offset()
440 old_offset, new_offset); in intel_adjust_aligned_offset()
444 *y = (old_offset - new_offset) / pitch; in intel_adjust_aligned_offset()
445 *x = ((old_offset - new_offset) - *y * pitch) / cpp; in intel_adjust_aligned_offset()
448 return new_offset; in intel_adjust_aligned_offset()
458 u32 old_offset, u32 new_offset) in intel_plane_adjust_aligned_offset() argument
463 old_offset, new_offset); in intel_plane_adjust_aligned_offset()