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
320ca251
Commit
320ca251
authored
Aug 20, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/msppp: switch to device pri macros
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
54118c74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
drivers/gpu/drm/nouveau/nvkm/engine/msppp/g98.c
drivers/gpu/drm/nouveau/nvkm/engine/msppp/g98.c
+3
-2
drivers/gpu/drm/nouveau/nvkm/engine/msppp/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/msppp/gf100.c
+3
-2
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/msppp/g98.c
View file @
320ca251
...
...
@@ -60,14 +60,15 @@ static int
g98_msppp_init
(
struct
nvkm_object
*
object
)
{
struct
nvkm_falcon
*
msppp
=
(
void
*
)
object
;
struct
nvkm_device
*
device
=
msppp
->
engine
.
subdev
.
device
;
int
ret
;
ret
=
nvkm_falcon_init
(
msppp
);
if
(
ret
)
return
ret
;
nv
_wr32
(
msppp
,
0x086010
,
0x0000ffd2
);
nv
_wr32
(
msppp
,
0x08601c
,
0x0000fff2
);
nv
km_wr32
(
device
,
0x086010
,
0x0000ffd2
);
nv
km_wr32
(
device
,
0x08601c
,
0x0000fff2
);
return
0
;
}
...
...
drivers/gpu/drm/nouveau/nvkm/engine/msppp/gf100.c
View file @
320ca251
...
...
@@ -59,14 +59,15 @@ static int
gf100_msppp_init
(
struct
nvkm_object
*
object
)
{
struct
nvkm_falcon
*
msppp
=
(
void
*
)
object
;
struct
nvkm_device
*
device
=
msppp
->
engine
.
subdev
.
device
;
int
ret
;
ret
=
nvkm_falcon_init
(
msppp
);
if
(
ret
)
return
ret
;
nv
_wr32
(
msppp
,
0x086010
,
0x0000fff2
);
nv
_wr32
(
msppp
,
0x08601c
,
0x0000fff2
);
nv
km_wr32
(
device
,
0x086010
,
0x0000fff2
);
nv
km_wr32
(
device
,
0x08601c
,
0x0000fff2
);
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