1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-26 09:10:48 +02:00

ubb-vga.c (mode_db): added 1024x768, 53 Hz mode (56 MHz pixel clock)

This commit is contained in:
Werner Almesberger 2011-05-01 18:55:29 -03:00
parent 606dd63492
commit aa2fc7101d

View File

@ -49,14 +49,15 @@ static int bad;
static const struct mode mode_db[] = {
{ "640x480", 640, 480, 11, US(29.7), US(0.79+3.77-0.3) },
{ "800x600", 800, 600, 8, US(28.7), US(2.0+3.3+0.3) },
{ "640x480", 640, 480, 11, US(29.7), US(0.79+3.77-0.3) },
{ "800x600", 800, 600, 8, US(28.7), US(2.0+3.3+0.3) },
/* the next one may work after adjusting the timing in "frame" */
{ "800x600", 800, 600, 8, US(28.2), US(2.0+3.3+0.3-0.3) },
{ "800x600", 800, 600, 8, US(28.2), US(2.0+3.3+0.3-0.3) },
/* the 1024x768 below is not great but has good parameter tolerance */
{ "1024x768", 1024, 768, 8, US(36.0), US(2.0+3.3) },
{ "1024x768", 1024, 768, 8, US(36.0), US(2.0+3.3) },
/* illustrate underruns */
{ "1024x768ur", 1024, 768, 7, US(33.5), US(0.4+2.1+0.5) },
{ "1024x768ur", 1024, 768, 7, US(33.5), US(0.4+2.1+0.5) },
{ "1024x768/53", 1024, 768, 5, US(23.1), US(0.4+2.1-0.4) },
{ NULL }
};