* @param config
* @param io
*/
final void calcForConfiguration(RadeonConfiguration config, PLLInfo pllInfo, RadeonVgaIO io,
FBInfo fbinfo) {
final DisplayMode mode = config.getDisplayMode();
final int bpp = config.getBitsPerPixel();
final int xres = mode.getWidth();
final int yres = mode.getHeight();
int hSyncStart = mode.getHsyncStart();
int hSyncEnd = mode.getHsyncEnd();
int hTotal = mode.getHTotal();
int vSyncStart = mode.getVsyncStart();
int vSyncEnd = mode.getVsyncEnd();
int vTotal = mode.getVTotal();
final int hsync_wid = Math.min(0x3f, Math.max(1, (hSyncEnd - hSyncStart) / 8));
final int vsync_wid = Math.min(0x1f, Math.max(1, vSyncEnd - vSyncStart));
final int hsync_start = mode.getHsyncStart() - 8 /* + hsync_fudge */;
final int h_sync_pol = 0;
final int v_sync_pol = 0;
final int format = getFormat(bpp);
// newmode.crtc_h_total_disp = ((((hTotal / 8) - 1) & 0x3ff) |