diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2016-02-22 02:54:46 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-02-26 12:02:58 +0100 |
commit | af22f647b4a0b4a549ccbbc55a324edc54089564 (patch) | |
tree | 8a7690f7a94c0df042fa6cbcf9014176ac8c4cf4 | |
parent | fbdev: sh_mobile_lcdc: Use ARCH_RENESAS (diff) | |
download | linux-af22f647b4a0b4a549ccbbc55a324edc54089564.tar.xz linux-af22f647b4a0b4a549ccbbc55a324edc54089564.zip |
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: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/fbdev/pmag-ba-fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/pmag-ba-fb.c b/drivers/video/fbdev/pmag-ba-fb.c index 914a52ba8477..5872bc4af3ce 100644 --- a/drivers/video/fbdev/pmag-ba-fb.c +++ b/drivers/video/fbdev/pmag-ba-fb.c @@ -60,7 +60,7 @@ static struct fb_var_screeninfo pmagbafb_defined = { .left_margin = 116, .right_margin = 12, .upper_margin = 34, - .lower_margin = 12, + .lower_margin = 0, .hsync_len = 128, .vsync_len = 3, .sync = FB_SYNC_ON_GREEN, |