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
f4aa2c66
Commit
f4aa2c66
authored
11 years ago
by
Ben Skeggs
Browse files
Options
Download
Email Patches
Plain Diff
drm/nve0/fb/gddr5: fixup delays a bit
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
1522ecae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
+1
-2
No files found.
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c
View file @
f4aa2c66
...
...
@@ -542,10 +542,9 @@ nve0_ram_calc_gddr5(struct nouveau_fb *pfb, u32 freq)
(
data
&
0x7000
)
>>
12
);
ram_wr32
(
fuc
,
0x10f090
,
0x4000007e
);
ram_nsec
(
fuc
,
1
000
);
ram_nsec
(
fuc
,
2
000
);
ram_wr32
(
fuc
,
0x10f314
,
0x00000001
);
/* PRECHARGE */
ram_wr32
(
fuc
,
0x10f310
,
0x00000001
);
/* REFRESH */
ram_nsec
(
fuc
,
2000
);
ram_wr32
(
fuc
,
0x10f210
,
0x80000000
);
/* REFRESH_AUTO = 1 */
if
((
nv_ro08
(
bios
,
ramcfg
+
0x08
)
&
0x10
)
&&
(
ram
->
mode
==
2
)
/*XXX*/
)
{
...
...
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