Skip to content

Commit

Permalink
drm/i915: Fix regression in the sprite plane update split
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gustavo Padovan authored and Daniel Vetter committed Sep 19, 2014
1 parent be2d599 commit e259f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_sprite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e259f17

Please sign in to comment.