OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed4bb9
)
nvc0/fb: shut up PMFB interrupt after the first occurrence
author
Christoph Bumiller
<e0425955@student.tuwien.ac.at>
Thu, 19 Apr 2012 17:59:20 +0000
(19:59 +0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 30 Apr 2012 05:55:46 +0000
(15:55 +1000)
Signed-off-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_fb.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvc0_fb.c
b/drivers/gpu/drm/nouveau/nvc0_fb.c
index
5bf5503
..
f704e94
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvc0_fb.c
+++ b/
drivers/gpu/drm/nouveau/nvc0_fb.c
@@
-54,6
+54,11
@@
nvc0_mfb_isr(struct drm_device *dev)
nvc0_mfb_subp_isr(dev, unit, subp);
units &= ~(1 << unit);
}
+
+ /* we do something horribly wrong and upset PMFB a lot, so mask off
+ * interrupts from it after the first one until it's fixed
+ */
+ nv_mask(dev, 0x000640, 0x02000000, 0x00000000);
}
static void