diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/intelfb/intelfbhw.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/video/intelfb/intelfbhw.c b/drivers/video/intelfb/intelfbhw.c index 5a621df5bf02..16c9c192b4be 100644 --- a/drivers/video/intelfb/intelfbhw.c +++ b/drivers/video/intelfb/intelfbhw.c | |||
@@ -1359,6 +1359,10 @@ intelfbhw_program_mode(struct intelfb_info *dinfo, | |||
1359 | /* Wait for vblank. For now, just wait for a 50Hz cycle (20ms)) */ | 1359 | /* Wait for vblank. For now, just wait for a 50Hz cycle (20ms)) */ |
1360 | mdelay(20); | 1360 | mdelay(20); |
1361 | 1361 | ||
1362 | OUTREG(DVOB, INREG(DVOB) & ~PORT_ENABLE); | ||
1363 | OUTREG(DVOC, INREG(DVOC) & ~PORT_ENABLE); | ||
1364 | OUTREG(ADPA, INREG(ADPA) & ~ADPA_DAC_ENABLE); | ||
1365 | |||
1362 | /* Disable Sync */ | 1366 | /* Disable Sync */ |
1363 | tmp = INREG(ADPA); | 1367 | tmp = INREG(ADPA); |
1364 | tmp &= ~ADPA_DPMS_CONTROL_MASK; | 1368 | tmp &= ~ADPA_DPMS_CONTROL_MASK; |
@@ -1374,14 +1378,11 @@ intelfbhw_program_mode(struct intelfb_info *dinfo, | |||
1374 | OUTREG(dpll_reg, tmp); | 1378 | OUTREG(dpll_reg, tmp); |
1375 | 1379 | ||
1376 | /* Set PLL parameters */ | 1380 | /* Set PLL parameters */ |
1377 | OUTREG(dpll_reg, *dpll & ~DPLL_VCO_ENABLE); | ||
1378 | OUTREG(fp0_reg, *fp0); | 1381 | OUTREG(fp0_reg, *fp0); |
1379 | OUTREG(fp1_reg, *fp1); | 1382 | OUTREG(fp1_reg, *fp1); |
1380 | 1383 | ||
1381 | /* Enable PLL */ | 1384 | /* Enable PLL */ |
1382 | tmp = INREG(dpll_reg); | 1385 | OUTREG(dpll_reg, *dpll); |
1383 | tmp |= DPLL_VCO_ENABLE; | ||
1384 | OUTREG(dpll_reg, tmp); | ||
1385 | 1386 | ||
1386 | /* Set DVOs B/C */ | 1387 | /* Set DVOs B/C */ |
1387 | OUTREG(DVOB, hw->dvob); | 1388 | OUTREG(DVOB, hw->dvob); |