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
47a44d27
Commit
47a44d27
authored
Jan 01, 2011
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nvc0/pgraph: fix 0x406028/0x405870 init
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
680a4872
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
drivers/gpu/drm/nouveau/nvc0_grctx.c
drivers/gpu/drm/nouveau/nvc0_grctx.c
+7
-3
No files found.
drivers/gpu/drm/nouveau/nvc0_grctx.c
View file @
47a44d27
...
...
@@ -1801,7 +1801,7 @@ nvc0_grctx_generate(struct nouveau_channel *chan)
struct
nvc0_graph_chan
*
grch
=
chan
->
pgraph_ctx
;
struct
drm_device
*
dev
=
chan
->
dev
;
int
i
,
gpc
,
tp
,
id
;
u32
r000260
;
u32
r000260
,
tmp
;
r000260
=
nv_rd32
(
dev
,
0x000260
);
nv_wr32
(
dev
,
0x000260
,
r000260
&
~
1
);
...
...
@@ -1843,8 +1843,12 @@ nvc0_grctx_generate(struct nouveau_channel *chan)
}
}
nv_wr32
(
dev
,
0x406028
,
0x00000443
);
nv_wr32
(
dev
,
0x405870
,
0x00000443
);
tmp
=
0
;
for
(
i
=
0
;
i
<
priv
->
gpc_nr
;
i
++
)
tmp
|=
priv
->
tp_nr
[
i
]
<<
(
i
*
4
);
nv_wr32
(
dev
,
0x406028
,
tmp
);
nv_wr32
(
dev
,
0x405870
,
tmp
);
nv_wr32
(
dev
,
0x40602c
,
0x00000000
);
nv_wr32
(
dev
,
0x405874
,
0x00000000
);
nv_wr32
(
dev
,
0x406030
,
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