Skip to content

Commit a592d9f

Browse files
DarrenEtheridgetomba
authored andcommitted
video: da8xx-fb fixing incorrect porch mappings
The driver was mapping the wrong fbdev margins to the front porch / back porch for both vertical and horizontal timings. This patch corrects it so that: hfp = right margin hbp = left margin vbp = upper margin vfp = lower margin Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
1 parent b1a9329 commit a592d9f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/video/da8xx-fb.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -783,10 +783,10 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg,
783783
return ret;
784784

785785
/* Configure the vertical and horizontal sync properties. */
786-
lcd_cfg_vertical_sync(panel->lower_margin, panel->vsync_len,
787-
panel->upper_margin);
788-
lcd_cfg_horizontal_sync(panel->right_margin, panel->hsync_len,
789-
panel->left_margin);
786+
lcd_cfg_vertical_sync(panel->upper_margin, panel->vsync_len,
787+
panel->lower_margin);
788+
lcd_cfg_horizontal_sync(panel->left_margin, panel->hsync_len,
789+
panel->right_margin);
790790

791791
/* Configure for disply */
792792
ret = lcd_cfg_display(cfg, panel);

0 commit comments

Comments
 (0)