Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f728377f
Commit
f728377f
authored
May 27, 2006
by
Dave Airlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync modesetting code with X.org
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
c9daa873
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
drivers/video/intelfb/intelfbhw.c
drivers/video/intelfb/intelfbhw.c
+5
-4
No files found.
drivers/video/intelfb/intelfbhw.c
View file @
f728377f
...
...
@@ -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
;
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment