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
dd95c8f7
Commit
dd95c8f7
authored
Nov 27, 2013
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nve0/fb: typo in register name
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
0a0dc8f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
+4
-4
No files found.
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
View file @
dd95c8f7
...
...
@@ -117,7 +117,7 @@ struct nve0_ramfuc {
struct
ramfuc_reg
r_0x10f65c
;
struct
ramfuc_reg
r_0x10f6bc
;
struct
ramfuc_reg
r_0x100710
;
struct
ramfuc_reg
r_0x10
f
750
;
struct
ramfuc_reg
r_0x10
0
750
;
};
struct
nve0_ram
{
...
...
@@ -484,8 +484,8 @@ nve0_ram_calc_gddr5(struct nouveau_fb *pfb, u32 freq)
data
=
nv_ro08
(
bios
,
ramcfg
+
0x02
)
&
0x03
;
if
(
nv_ro08
(
bios
,
ramcfg
+
0x01
)
&
0x10
)
data
|=
0x00000004
;
if
((
nv_rd32
(
bios
,
0x100770
)
&
0x00000004
)
!=
(
data
&
0x00000004
))
{
ram_wr32
(
fuc
,
0x10
f
750
,
0x04000009
);
if
((
ram_rd32
(
fuc
,
0x100770
)
&
0x00000004
)
!=
(
data
&
0x00000004
))
{
ram_wr32
(
fuc
,
0x10
0
750
,
0x04000009
);
ram_wr32
(
fuc
,
0x100710
,
0x00000000
);
ram_wait
(
fuc
,
0x100710
,
0x80000000
,
0x80000000
,
200000
);
}
...
...
@@ -1240,7 +1240,7 @@ nve0_ram_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
ram
->
fuc
.
r_0x10f65c
=
ramfuc_reg
(
0x10f65c
);
ram
->
fuc
.
r_0x10f6bc
=
ramfuc_reg
(
0x10f6bc
);
ram
->
fuc
.
r_0x100710
=
ramfuc_reg
(
0x100710
);
ram
->
fuc
.
r_0x10
f750
=
ramfuc_reg
(
0x10f
750
);
ram
->
fuc
.
r_0x10
0750
=
ramfuc_reg
(
0x100
750
);
return
0
;
}
...
...
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