/* *Registerinitializationtablesforthevalkyriedisplay. * *Dotclockrateis *3.9064MHz*2**clock_params[2]*clock_params[1]/clock_params[0].
*/ struct valkyrie_regvals { unsignedchar mode; unsignedchar clock_params[3]; int pitch[2]; /* bytes/line, indexed by color_mode */ int hres; int vres;
};
#ifndef CONFIG_MAC /* Register values for 1024x768, 75Hz mode (17) */ /* I'm not sure which mode this is (16 or 17), so I'm defining it as 17, *sincetheequivalentmodeincontrolfb(whichIadaptedthisfrom)is *also17.JustbecauseMacOScan'tdothisonValkyriedoesn'tmeanwe *can't!:) * *Iwasgoingtouse12,31,3,whichIfoundbymyself,butinsteadI'm *using11,28,3likecontrolfb,forconsistency'ssake.
*/
/* Register values for 1024x768, 72Hz mode (15) */ /* This used to be 12, 30, 3 for pixel clock = 78.12MHz for V=72.12Hz, but *thatdidn'tmatchMacOSinthesamevideomodeonthischip,anditalso *causedthe15"AppleStudioDisplaytonotworkinthismode.Whilethis *modestilldoesn'tmatchMacOSexactly(asfarasIcantell),it'salot *closernow,anditworkswiththeAppleStudioDisplay. * *Yes,eventhoughMacOScallsit"72Hz",inrealityit'sabout70Hz.
*/ staticstruct valkyrie_regvals valkyrie_reg_init_15 = { 15,
{ 12, 29, 3 }, /* pixel clock = 75.52MHz for V=69.71Hz? */ /* I interpolated the V=69.71 from the vmode 14 and old 15 *numbers.Isthisresultcorrect?
*/
{ 1024, 0 }, 1024, 768
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.