提交 e259f172 编写于 作者: G Gustavo Padovan 提交者: Daniel Vetter

drm/i915: Fix regression in the sprite plane update split

7e4bf45dbd99a965c7b5d5944c6dc4246f171eb5 introduced the regression.
We fix it by doing the right assignment of crtc_y

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83747Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: NJani Nikula <jani.nikula@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 be2d599b
...@@ -1080,7 +1080,7 @@ intel_commit_sprite_plane(struct drm_plane *plane, ...@@ -1080,7 +1080,7 @@ intel_commit_sprite_plane(struct drm_plane *plane,
if (state->visible) { if (state->visible) {
crtc_x = state->dst.x1; crtc_x = state->dst.x1;
crtc_y = state->dst.x2; crtc_y = state->dst.y1;
crtc_w = drm_rect_width(&state->dst); crtc_w = drm_rect_width(&state->dst);
crtc_h = drm_rect_height(&state->dst); crtc_h = drm_rect_height(&state->dst);
src_x = state->src.x1; src_x = state->src.x1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册