OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66adbfb
)
drm/nouveau/mc/gt215: support for masking interrupts
author
Ben Skeggs
<bskeggs@redhat.com>
Sun, 29 May 2016 22:48:21 +0000
(08:48 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000
(11:53 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
index
60c349a
..
99d50a3
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
@@
-53,12
+53,19
@@
gt215_mc_intr[] = {
{},
};
+static void
+gt215_mc_intr_mask(struct nvkm_mc *mc, u32 mask, u32 stat)
+{
+ nvkm_mask(mc->subdev.device, 0x000640, mask, stat);
+}
+
static const struct nvkm_mc_func
gt215_mc = {
.init = nv50_mc_init,
.intr = gt215_mc_intr,
.intr_unarm = nv04_mc_intr_unarm,
.intr_rearm = nv04_mc_intr_rearm,
+ .intr_mask = gt215_mc_intr_mask,
.intr_stat = nv04_mc_intr_stat,
.reset = gt215_mc_reset,
};