-struct ao_modeline {
- long dot_clock; /* in Hz */
-
- /* All timings are in pixels, with the first pixel out at 0,0 */
- int hactive; /* active pixels */
- int hsync_start; /* start of hsync pulse */
- int hsync_end; /* end of hsync pulse */
- int htotal; /* total h pixels */
-
- int vactive; /* active scalines */
- int vsync_start; /* start of vsync pulse */
- int vsync_end; /* end of vsync pulse */
- int vtotal; /* total scanlines */
-};
-
-const struct ao_modeline vga_640x480x60 = {
- .dot_clock = 23856000, /* 23.86MHz dot, 29.82kHz line, 60.00Hz frame */
-
- .hactive = 640,
- .hsync_start = 656,
- .hsync_end = 720,
- .htotal = 800,
+/* GRF formula for 640x480 yields a pixel clock very close to 24MHz. Pad by
+ * three scanlines to hit exactly that value
+ */