aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/intel_display.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index f313d62a7e74..7a9040fc6e5a 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2585,8 +2585,9 @@ intel_fill_fb_info(struct drm_i915_private *dev_priv,
2585 * We only keep the x/y offsets, so push all of the 2585 * We only keep the x/y offsets, so push all of the
2586 * gtt offset into the x/y offsets. 2586 * gtt offset into the x/y offsets.
2587 */ 2587 */
2588 _intel_adjust_tile_offset(&x, &y, tile_size, 2588 _intel_adjust_tile_offset(&x, &y,
2589 tile_width, tile_height, pitch_tiles, 2589 tile_width, tile_height,
2590 tile_size, pitch_tiles,
2590 gtt_offset_rotated * tile_size, 0); 2591 gtt_offset_rotated * tile_size, 0);
2591 2592
2592 gtt_offset_rotated += rot_info->plane[i].width * rot_info->plane[i].height; 2593 gtt_offset_rotated += rot_info->plane[i].width * rot_info->plane[i].height;