drm/i915: Use atomic plane state in the primary plane update.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 10 Sep 2015 14:07:56 +0000 (16:07 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Sep 2015 15:23:08 +0000 (17:23 +0200)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 110b8dc7bbd01ba706c90df8d46f27fac0a1252e..0f5df11dabd6a2f46799f7bff1fca69a267b49ef 100644 (file)
@@ -13427,7 +13427,9 @@ intel_commit_primary_plane(struct drm_plane *plane,
                /* FIXME: kill this fastboot hack */
                intel_update_pipe_size(intel_crtc);
 
-       dev_priv->display.update_primary_plane(crtc, fb, crtc->x, crtc->y);
+       dev_priv->display.update_primary_plane(crtc, fb,
+                                              state->src.x1 >> 16,
+                                              state->src.y1 >> 16);
 }
 
 static void