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
147ed897
Commit
147ed897
authored
Aug 12, 2014
by
Ben Skeggs
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/ltc: fix tag base address getting truncated if above 4GiB
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
3d9e3921
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/gpu/drm/nouveau/core/subdev/ltc/gf100.c
drivers/gpu/drm/nouveau/core/subdev/ltc/gf100.c
+1
-1
No files found.
drivers/gpu/drm/nouveau/core/subdev/ltc/gf100.c
View file @
147ed897
...
@@ -156,7 +156,7 @@ gf100_ltc_init_tag_ram(struct nouveau_fb *pfb, struct nvkm_ltc_priv *priv)
...
@@ -156,7 +156,7 @@ gf100_ltc_init_tag_ram(struct nouveau_fb *pfb, struct nvkm_ltc_priv *priv)
if
(
ret
)
{
if
(
ret
)
{
priv
->
num_tags
=
0
;
priv
->
num_tags
=
0
;
}
else
{
}
else
{
u64
tag_base
=
(
priv
->
tag_ram
->
offset
<<
12
)
+
tag_margin
;
u64
tag_base
=
(
(
u64
)
priv
->
tag_ram
->
offset
<<
12
)
+
tag_margin
;
tag_base
+=
tag_align
-
1
;
tag_base
+=
tag_align
-
1
;
ret
=
do_div
(
tag_base
,
tag_align
);
ret
=
do_div
(
tag_base
,
tag_align
);
...
...
Kirill Smelkov
@kirr
mentioned in commit
a1b8144b
·
Jun 08, 2016
mentioned in commit
a1b8144b
mentioned in commit a1b8144b70f8a528b9c568acc4a68e09c6a4f6dc
Toggle commit list
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