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
96975248
Commit
96975248
authored
Aug 20, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/falcon: switch to device pri macros
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
c44c049f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
+2
-2
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
View file @
96975248
...
...
@@ -46,14 +46,14 @@ u32
_nvkm_falcon_rd32
(
struct
nvkm_object
*
object
,
u64
addr
)
{
struct
nvkm_falcon
*
falcon
=
(
void
*
)
object
;
return
nv
_rd32
(
falcon
,
falcon
->
addr
+
addr
);
return
nv
km_rd32
(
falcon
->
engine
.
subdev
.
device
,
falcon
->
addr
+
addr
);
}
void
_nvkm_falcon_wr32
(
struct
nvkm_object
*
object
,
u64
addr
,
u32
data
)
{
struct
nvkm_falcon
*
falcon
=
(
void
*
)
object
;
nv
_wr32
(
falcon
,
falcon
->
addr
+
addr
,
data
);
nv
km_wr32
(
falcon
->
engine
.
subdev
.
device
,
falcon
->
addr
+
addr
,
data
);
}
static
void
*
...
...
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