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
f9793bb7
Commit
f9793bb7
authored
Aug 20, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/device: switch to device pri macros
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
b958bf91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
+6
-6
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
View file @
f9793bb7
...
...
@@ -164,37 +164,37 @@ nvkm_devobj_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size)
static
u8
nvkm_devobj_rd08
(
struct
nvkm_object
*
object
,
u64
addr
)
{
return
nv
_rd08
(
object
->
engin
e
,
addr
);
return
nv
km_rd08
(
object
->
engine
->
subdev
.
devic
e
,
addr
);
}
static
u16
nvkm_devobj_rd16
(
struct
nvkm_object
*
object
,
u64
addr
)
{
return
nv
_rd16
(
object
->
engin
e
,
addr
);
return
nv
km_rd16
(
object
->
engine
->
subdev
.
devic
e
,
addr
);
}
static
u32
nvkm_devobj_rd32
(
struct
nvkm_object
*
object
,
u64
addr
)
{
return
nv
_rd32
(
object
->
engin
e
,
addr
);
return
nv
km_rd32
(
object
->
engine
->
subdev
.
devic
e
,
addr
);
}
static
void
nvkm_devobj_wr08
(
struct
nvkm_object
*
object
,
u64
addr
,
u8
data
)
{
nv
_wr08
(
object
->
engin
e
,
addr
,
data
);
nv
km_wr08
(
object
->
engine
->
subdev
.
devic
e
,
addr
,
data
);
}
static
void
nvkm_devobj_wr16
(
struct
nvkm_object
*
object
,
u64
addr
,
u16
data
)
{
nv
_wr16
(
object
->
engin
e
,
addr
,
data
);
nv
km_wr16
(
object
->
engine
->
subdev
.
devic
e
,
addr
,
data
);
}
static
void
nvkm_devobj_wr32
(
struct
nvkm_object
*
object
,
u64
addr
,
u32
data
)
{
nv
_wr32
(
object
->
engin
e
,
addr
,
data
);
nv
km_wr32
(
object
->
engine
->
subdev
.
devic
e
,
addr
,
data
);
}
static
int
...
...
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