drm/i915: Fix regression in the sprite plane update split
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 11 Sep 2014 20:42:15 +0000 (17:42 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:43:10 +0000 (14:43 +0200)
7e4bf45dbd99a965c7b5d5944c6dc4246f171eb5 introduced the regression.
We fix it by doing the right assignment of crtc_y

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83747
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c

index 90bb45fdff5a32e35c1fc4cea13de926eaed13fe..78044bbed8c9fc02357b41e4737de1b61f83af06 100644 (file)
@@ -1080,7 +1080,7 @@ intel_commit_sprite_plane(struct drm_plane *plane,
 
                if (state->visible) {
                        crtc_x = state->dst.x1;
-                       crtc_y = state->dst.x2;
+                       crtc_y = state->dst.y1;
                        crtc_w = drm_rect_width(&state->dst);
                        crtc_h = drm_rect_height(&state->dst);
                        src_x = state->src.x1;
This page took 0.025674 seconds and 5 git commands to generate.