mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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>
This commit is contained in:
parent
d8b4c43a4b
commit
d4b08630fb
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue