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
nexedi
linux
Commits
6e09a578
Commit
6e09a578
authored
May 30, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/mc: s/intr_mask/intr_stat/
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
3c2a536b
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
19 additions
and
19 deletions
+19
-19
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
+3
-3
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g98.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g98.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
+2
-2
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv11.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv11.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
+3
-3
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
View file @
6e09a578
...
...
@@ -51,9 +51,9 @@ nvkm_mc_intr_rearm(struct nvkm_device *device)
}
static
u32
nvkm_mc_intr_
mask
(
struct
nvkm_mc
*
mc
)
nvkm_mc_intr_
stat
(
struct
nvkm_mc
*
mc
)
{
u32
intr
=
mc
->
func
->
intr_
mask
(
mc
);
u32
intr
=
mc
->
func
->
intr_
stat
(
mc
);
if
(
WARN_ON_ONCE
(
intr
==
0xffffffff
))
intr
=
0
;
/* likely fallen off the bus */
return
intr
;
...
...
@@ -71,7 +71,7 @@ nvkm_mc_intr(struct nvkm_device *device, bool *handled)
if
(
unlikely
(
!
mc
))
return
;
intr
=
nvkm_mc_intr_
mask
(
mc
);
intr
=
nvkm_mc_intr_
stat
(
mc
);
stat
=
nvkm_top_intr
(
device
,
intr
,
&
subdevs
);
while
(
subdevs
)
{
enum
nvkm_devidx
subidx
=
__ffs64
(
subdevs
);
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c
View file @
6e09a578
...
...
@@ -57,7 +57,7 @@ g84_mc = {
.
intr
=
g84_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
g84_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/g98.c
View file @
6e09a578
...
...
@@ -57,7 +57,7 @@ g98_mc = {
.
intr
=
g98_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
g98_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
View file @
6e09a578
...
...
@@ -76,7 +76,7 @@ gf100_mc_intr_rearm(struct nvkm_mc *mc)
}
u32
gf100_mc_intr_
mask
(
struct
nvkm_mc
*
mc
)
gf100_mc_intr_
stat
(
struct
nvkm_mc
*
mc
)
{
struct
nvkm_device
*
device
=
mc
->
subdev
.
device
;
u32
intr0
=
nvkm_rd32
(
device
,
0x000100
);
...
...
@@ -96,7 +96,7 @@ gf100_mc = {
.
intr
=
gf100_mc_intr
,
.
intr_unarm
=
gf100_mc_intr_unarm
,
.
intr_rearm
=
gf100_mc_intr_rearm
,
.
intr_
mask
=
gf100_mc_intr_mask
,
.
intr_
stat
=
gf100_mc_intr_stat
,
.
reset
=
gf100_mc_reset
,
.
unk260
=
gf100_mc_unk260
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c
View file @
6e09a578
...
...
@@ -52,7 +52,7 @@ gk104_mc = {
.
intr
=
gk104_mc_intr
,
.
intr_unarm
=
gf100_mc_intr_unarm
,
.
intr_rearm
=
gf100_mc_intr_rearm
,
.
intr_
mask
=
gf100_mc_intr_mask
,
.
intr_
stat
=
gf100_mc_intr_stat
,
.
reset
=
gk104_mc_reset
,
.
unk260
=
gf100_mc_unk260
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c
View file @
6e09a578
...
...
@@ -29,7 +29,7 @@ gk20a_mc = {
.
intr
=
gk104_mc_intr
,
.
intr_unarm
=
gf100_mc_intr_unarm
,
.
intr_rearm
=
gf100_mc_intr_rearm
,
.
intr_
mask
=
gf100_mc_intr_mask
,
.
intr_
stat
=
gf100_mc_intr_stat
,
.
reset
=
gk104_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
View file @
6e09a578
...
...
@@ -59,7 +59,7 @@ gt215_mc = {
.
intr
=
gt215_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
gt215_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
View file @
6e09a578
...
...
@@ -56,7 +56,7 @@ nv04_mc_intr_rearm(struct nvkm_mc *mc)
}
u32
nv04_mc_intr_
mask
(
struct
nvkm_mc
*
mc
)
nv04_mc_intr_
stat
(
struct
nvkm_mc
*
mc
)
{
return
nvkm_rd32
(
mc
->
subdev
.
device
,
0x000100
);
}
...
...
@@ -75,7 +75,7 @@ nv04_mc = {
.
intr
=
nv04_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv04_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv11.c
View file @
6e09a578
...
...
@@ -39,7 +39,7 @@ nv11_mc = {
.
intr
=
nv11_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv04_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c
View file @
6e09a578
...
...
@@ -48,7 +48,7 @@ nv17_mc = {
.
intr
=
nv17_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv17_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c
View file @
6e09a578
...
...
@@ -43,7 +43,7 @@ nv44_mc = {
.
intr
=
nv17_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv17_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c
View file @
6e09a578
...
...
@@ -50,7 +50,7 @@ nv50_mc = {
.
intr
=
nv50_mc_intr
,
.
intr_unarm
=
nv04_mc_intr_unarm
,
.
intr_rearm
=
nv04_mc_intr_rearm
,
.
intr_
mask
=
nv04_mc_intr_mask
,
.
intr_
stat
=
nv04_mc_intr_stat
,
.
reset
=
nv17_mc_reset
,
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
View file @
6e09a578
...
...
@@ -22,7 +22,7 @@ struct nvkm_mc_func {
/* enable reporting of interrupts to host */
void
(
*
intr_rearm
)(
struct
nvkm_mc
*
);
/* retrieve pending interrupt mask (NV_PMC_INTR) */
u32
(
*
intr_
mask
)(
struct
nvkm_mc
*
);
u32
(
*
intr_
stat
)(
struct
nvkm_mc
*
);
const
struct
nvkm_mc_map
*
reset
;
void
(
*
unk260
)(
struct
nvkm_mc
*
,
u32
);
};
...
...
@@ -30,7 +30,7 @@ struct nvkm_mc_func {
void
nv04_mc_init
(
struct
nvkm_mc
*
);
void
nv04_mc_intr_unarm
(
struct
nvkm_mc
*
);
void
nv04_mc_intr_rearm
(
struct
nvkm_mc
*
);
u32
nv04_mc_intr_
mask
(
struct
nvkm_mc
*
);
u32
nv04_mc_intr_
stat
(
struct
nvkm_mc
*
);
extern
const
struct
nvkm_mc_map
nv04_mc_reset
[];
extern
const
struct
nvkm_mc_map
nv17_mc_intr
[];
...
...
@@ -42,7 +42,7 @@ void nv50_mc_init(struct nvkm_mc *);
void
gf100_mc_intr_unarm
(
struct
nvkm_mc
*
);
void
gf100_mc_intr_rearm
(
struct
nvkm_mc
*
);
u32
gf100_mc_intr_
mask
(
struct
nvkm_mc
*
);
u32
gf100_mc_intr_
stat
(
struct
nvkm_mc
*
);
void
gf100_mc_unk260
(
struct
nvkm_mc
*
,
u32
);
extern
const
struct
nvkm_mc_map
gk104_mc_intr
[];
...
...
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