Commit af22f647 authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Tomi Valkeinen

video: fbdev: pmag-ba-fb: Fix the lower margin size

According to the board specification[1] the width of the vertical sync
front porch is 12 pixels or the same as the width of the horizontal sync
front porch.  This in turn means the size of the lower margin is 0,
because the vertical sync starts as soon as the start of the horizontal
sync terminates the last line.

References:

[1] "PMAG-BA TURBOchannel Color Frame Buffer Functional Specification",
    Revision 1.2, Workstation Systems Engineering, Digital Equipment
    Corporation, August 27, 1990, Table 3-5: "Video Timing"
Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 8b4c78a3
...@@ -60,7 +60,7 @@ static struct fb_var_screeninfo pmagbafb_defined = { ...@@ -60,7 +60,7 @@ static struct fb_var_screeninfo pmagbafb_defined = {
.left_margin = 116, .left_margin = 116,
.right_margin = 12, .right_margin = 12,
.upper_margin = 34, .upper_margin = 34,
.lower_margin = 12, .lower_margin = 0,
.hsync_len = 128, .hsync_len = 128,
.vsync_len = 3, .vsync_len = 3,
.sync = FB_SYNC_ON_GREEN, .sync = FB_SYNC_ON_GREEN,
......
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