Re: [PATCH] vgacon: Workaround for resize bug in some chipsets

From: Samuel Thibault
Date: Tue Nov 15 2005 - 21:25:06 EST


Hi,

Jason Dravet, le Tue 15 Nov 2005 19:50:39 -0600, a écrit :
> Here are the results:
> y=25 fonth=16 deffh=16 vidfh=16 scanl=400
> overflow=ff
> vsync_end=8f
> vdisp_end=1f

Ah, this is odd indeed: your hardware uses 800 scanlines
(overflow:(512+256)+vdisp_end:0x1f), while the actual needed lines
should be y:25*fonth:16 ... Maybe it is actually using a 32 lines font.

Just to make sure about every VGA bits, could you install the
svgatextmode package, which holds a getVGAreg command, and run twice

for i in `seq 0 24` ; do getVGAreg CRTC $i ; done

The first time while having a correct full text screen rendering, and
the second time after vgacon_doresize() has blanked the bottom half of
the screen.

Regards,
Samuel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/