diff options
-rw-r--r-- | drivers/gpu/drm/sti/sti_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_cursor.c b/drivers/gpu/drm/sti/sti_cursor.c index 807863106b8d..a19693adace2 100644 --- a/drivers/gpu/drm/sti/sti_cursor.c +++ b/drivers/gpu/drm/sti/sti_cursor.c | |||
@@ -205,7 +205,7 @@ static void sti_cursor_atomic_update(struct drm_plane *drm_plane, | |||
205 | writel(cursor->height << 16 | cursor->width, cursor->regs + CUR_SIZE); | 205 | writel(cursor->height << 16 | cursor->width, cursor->regs + CUR_SIZE); |
206 | 206 | ||
207 | y = sti_vtg_get_line_number(*mode, dst_y); | 207 | y = sti_vtg_get_line_number(*mode, dst_y); |
208 | x = sti_vtg_get_pixel_number(*mode, dst_y); | 208 | x = sti_vtg_get_pixel_number(*mode, dst_x); |
209 | writel((y << 16) | x, cursor->regs + CUR_VPO); | 209 | writel((y << 16) | x, cursor->regs + CUR_VPO); |
210 | 210 | ||
211 | plane->status = STI_PLANE_UPDATED; | 211 | plane->status = STI_PLANE_UPDATED; |