Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
a8ccbb77
Commit
a8ccbb77
authored
11 years ago
by
Ben Skeggs
Browse files
Options
Download
Email Patches
Plain Diff
drm/nve0/fb/gddr5: 10f698/69c
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
cfe17608
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
+5
-1
No files found.
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
View file @
a8ccbb77
...
...
@@ -400,9 +400,13 @@ nve0_ram_calc_gddr5(struct nouveau_fb *pfb, u32 freq)
ram_wr32
(
fuc
,
0x10f6b8
,
0x01010101
*
next
->
bios
.
ramcfg_11_09
);
ram_wr32
(
fuc
,
0x10f6bc
,
0x01010101
*
next
->
bios
.
ramcfg_11_09
);
if
(
!
next
->
bios
.
ramcfg_11_07_08
)
{
if
(
!
next
->
bios
.
ramcfg_11_07_08
&&
!
next
->
bios
.
ramcfg_11_07_04
)
{
ram_wr32
(
fuc
,
0x10f698
,
0x01010101
*
next
->
bios
.
ramcfg_11_04
);
ram_wr32
(
fuc
,
0x10f69c
,
0x01010101
*
next
->
bios
.
ramcfg_11_04
);
}
else
if
(
!
next
->
bios
.
ramcfg_11_07_08
)
{
ram_wr32
(
fuc
,
0x10f698
,
0x00000000
);
ram_wr32
(
fuc
,
0x10f69c
,
0x00000000
);
}
if
(
ram
->
mode
!=
2
)
{
...
...
This diff is collapsed.
Click to expand it.
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