cvt: Exchange v_front_porch and v_back_porch
PATCH 1/1 cvt: Exchange v_front_porch and v_back_porch
Make fbcvt agree with the cvt program output.
cvt always assigns 3 to the front porch.
Signed-off-by Troy Kisky <[email protected]>
Not tested, there could be another bug that
cancels this out.
--- drivers/video/fbcvt.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/fbcvt.c +2 -2
@@ -368,8 +368,8 @@ int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb) cvt.h_back_porch = cvt.hblank/2 + cvt.h_margin; cvt.h_front_porch = cvt.hblank - cvt.hsync - cvt.h_back_porch +2 * cvt.h_margin; - cvt.v_back_porch =3 + cvt.v_margin; - cvt.v_front_porch = cvt.vtotal - cvt.yres/cvt.interlace - + cvt.v_front_porch =3 + cvt.v_margin; + cvt.v_back_porch = cvt.vtotal - cvt.yres/cvt.interlace - cvt.v_back_porch - cvt.vsync;fb_cvt_print_name (&cvt);fb_cvt_convert_to_mode (&cvt, mode);
Signature · 9 lines
1.5.4.3 ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p