mirror of https://gitee.com/openkylin/linux.git
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
|
@ -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 New Issue