diff options
author | 2015-09-10 16:07:56 +0200 | |
---|---|---|
committer | 2015-09-10 17:23:08 +0200 | |
commit | d4b08630fb6e3fe9948456b09feb223fba2b48a6 (patch) | |
tree | b1adff190a011b720a86673651e2a49215d916ea | |
parent | drm/i915: add attached connector to hdmi container (diff) | |
download | linux-dev-d4b08630fb6e3fe9948456b09feb223fba2b48a6.tar.xz linux-dev-d4b08630fb6e3fe9948456b09feb223fba2b48a6.zip |
drm/i915: Use atomic plane state in the primary plane update.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 110b8dc7bbd0..0f5df11dabd6 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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 |