Commit a592d9fd authored by Darren Etheridge's avatar Darren Etheridge Committed by Tomi Valkeinen

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: default avatarDarren Etheridge <detheridge@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent b1a9329c
...@@ -783,10 +783,10 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg, ...@@ -783,10 +783,10 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg,
return ret; return ret;
/* Configure the vertical and horizontal sync properties. */ /* Configure the vertical and horizontal sync properties. */
lcd_cfg_vertical_sync(panel->lower_margin, panel->vsync_len, lcd_cfg_vertical_sync(panel->upper_margin, panel->vsync_len,
panel->upper_margin); panel->lower_margin);
lcd_cfg_horizontal_sync(panel->right_margin, panel->hsync_len, lcd_cfg_horizontal_sync(panel->left_margin, panel->hsync_len,
panel->left_margin); panel->right_margin);
/* Configure for disply */ /* Configure for disply */
ret = lcd_cfg_display(cfg, panel); ret = lcd_cfg_display(cfg, panel);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment