Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27479
b: refs/heads/master
c: f728377
h: refs/heads/master
i:
  27477: 0a223b0
  27475: 5fe2797
  27471: 11f1bb6
v: v3
  • Loading branch information
Dave Airlie committed May 27, 2006
1 parent e08bec0 commit c6ea51a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9daa873c3a7c769821ec6c8258adf098bb0435c
refs/heads/master: f728377f6786bcdf1dbf33394360164e86f40094
9 changes: 5 additions & 4 deletions trunk/drivers/video/intelfb/intelfbhw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,10 @@ intelfbhw_program_mode(struct intelfb_info *dinfo,
/* Wait for vblank. For now, just wait for a 50Hz cycle (20ms)) */
mdelay(20);

OUTREG(DVOB, INREG(DVOB) & ~PORT_ENABLE);
OUTREG(DVOC, INREG(DVOC) & ~PORT_ENABLE);
OUTREG(ADPA, INREG(ADPA) & ~ADPA_DAC_ENABLE);

/* Disable Sync */
tmp = INREG(ADPA);
tmp &= ~ADPA_DPMS_CONTROL_MASK;
Expand All @@ -1374,14 +1378,11 @@ intelfbhw_program_mode(struct intelfb_info *dinfo,
OUTREG(dpll_reg, tmp);

/* Set PLL parameters */
OUTREG(dpll_reg, *dpll & ~DPLL_VCO_ENABLE);
OUTREG(fp0_reg, *fp0);
OUTREG(fp1_reg, *fp1);

/* Enable PLL */
tmp = INREG(dpll_reg);
tmp |= DPLL_VCO_ENABLE;
OUTREG(dpll_reg, tmp);
OUTREG(dpll_reg, *dpll);

/* Set DVOs B/C */
OUTREG(DVOB, hw->dvob);
Expand Down

0 comments on commit c6ea51a

Please sign in to comment.