aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_irq.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-09-03 01:56:12 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-09-24 02:24:46 -0400
commit1da265662db0306d04efb5f687c2992e40d1b85c (patch)
tree852dbd4a19b7457e32889fece92607c2965f2856 /drivers/gpu/drm/nouveau/nouveau_irq.c
parentd96773e7b61d9976b8227e018a1c94fb7374e641 (diff)
drm/nv50: report BAR access faults
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_irq.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_irq.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_irq.c b/drivers/gpu/drm/nouveau/nouveau_irq.c
index 316e0587fb01..a818306781cc 100644
--- a/drivers/gpu/drm/nouveau/nouveau_irq.c
+++ b/drivers/gpu/drm/nouveau/nouveau_irq.c
@@ -228,6 +228,14 @@ nouveau_fifo_irq_handler(struct drm_device *dev)
228 nv_wr32(dev, NV04_PFIFO_CACHE1_PULL0, 1); 228 nv_wr32(dev, NV04_PFIFO_CACHE1_PULL0, 1);
229 } 229 }
230 230
231 if (dev_priv->card_type == NV_50) {
232 if (status & 0x00000010) {
233 nv50_fb_vm_trap(dev, 1, "PFIFO_BAR_FAULT");
234 status &= ~0x00000010;
235 nv_wr32(dev, 0x002100, 0x00000010);
236 }
237 }
238
231 if (status) { 239 if (status) {
232 NV_INFO(dev, "PFIFO_INTR 0x%08x - Ch %d\n", 240 NV_INFO(dev, "PFIFO_INTR 0x%08x - Ch %d\n",
233 status, chid); 241 status, chid);