intel_extreme: Undo a suspect PLL change from mmlr's branch

This commit is contained in:
Alexander von Gluck IV 2015-11-01 08:35:11 -06:00
parent 57b86ef335
commit 62fbfdaa79

View File

@ -252,7 +252,9 @@ AnalogPort::SetDisplayMode(display_mode* target, uint32 colorMode)
pll |= DISPLAY_PLL_POST1_DIVIDE_2;
}
write32(INTEL_DISPLAY_A_PLL, pll);
// Programmer's Ref says we must allow the DPLL to "warm up" before starting the plane
// so mask its bit, wait, enable its bit
write32(INTEL_DISPLAY_A_PLL, pll & ~DISPLAY_PLL_NO_VGA_CONTROL);
read32(INTEL_DISPLAY_A_PLL);
spin(150);
write32(INTEL_DISPLAY_A_PLL, pll);