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
Kirill Smelkov
linux
Commits
1d6e7a59
Commit
1d6e7a59
authored
Jul 06, 2011
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nvd0/disp: some magic to make evo happeir
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
2fad3d5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
drivers/gpu/drm/nouveau/nvd0_display.c
drivers/gpu/drm/nouveau/nvd0_display.c
+12
-0
No files found.
drivers/gpu/drm/nouveau/nvd0_display.c
View file @
1d6e7a59
...
...
@@ -850,6 +850,18 @@ nvd0_display_init(struct drm_device *dev)
u32
*
push
;
int
i
;
/*XXX: wrong, and wtf is it for? */
for
(
i
=
0
;
i
<
3
;
i
++
)
{
u32
dac
=
nv_rd32
(
dev
,
0x61a000
+
(
i
*
0x800
));
nv_wr32
(
dev
,
0x6101c0
+
(
i
*
0x800
),
dac
);
}
/*XXX: wrong, and wtf is it for? SOR_MODE_CTRL is an error without.. */
for
(
i
=
0
;
i
<
4
;
i
++
)
{
u32
sor
=
nv_rd32
(
dev
,
0x61c000
+
(
i
*
0x800
));
nv_wr32
(
dev
,
0x6301c4
+
(
i
*
0x800
),
sor
);
}
if
(
nv_rd32
(
dev
,
0x6100ac
)
&
0x00000100
)
{
nv_wr32
(
dev
,
0x6100ac
,
0x00000100
);
nv_mask
(
dev
,
0x6194e8
,
0x00000001
,
0x00000000
);
...
...
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