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
9b02baf1
Commit
9b02baf1
authored
May 30, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/mc/gf100-: support for masking interrupts
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
5805bd1e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
+9
-0
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h
+1
-0
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c
View file @
9b02baf1
...
...
@@ -84,6 +84,14 @@ gf100_mc_intr_stat(struct nvkm_mc *mc)
return
intr0
|
intr1
;
}
void
gf100_mc_intr_mask
(
struct
nvkm_mc
*
mc
,
u32
mask
,
u32
stat
)
{
struct
nvkm_device
*
device
=
mc
->
subdev
.
device
;
nvkm_mask
(
device
,
0x000640
,
mask
,
stat
);
nvkm_mask
(
device
,
0x000644
,
mask
,
stat
);
}
void
gf100_mc_unk260
(
struct
nvkm_mc
*
mc
,
u32
data
)
{
...
...
@@ -96,6 +104,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 @
9b02baf1
...
...
@@ -52,6 +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 @
9b02baf1
...
...
@@ -29,6 +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/priv.h
View file @
9b02baf1
...
...
@@ -44,6 +44,7 @@ void nv50_mc_init(struct nvkm_mc *);
void
gf100_mc_intr_unarm
(
struct
nvkm_mc
*
);
void
gf100_mc_intr_rearm
(
struct
nvkm_mc
*
);
void
gf100_mc_intr_mask
(
struct
nvkm_mc
*
,
u32
,
u32
);
u32
gf100_mc_intr_stat
(
struct
nvkm_mc
*
);
void
gf100_mc_unk260
(
struct
nvkm_mc
*
,
u32
);
...
...
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