summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nv04_fifo.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-03-08 09:57:17 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-03-14 16:32:30 +1000
commit6fdb383e81a644a244299d635de5eb30ed401278 (patch)
tree7414b0d2ec2e55c173c9b7ee0cd542bfd8a0e091 /drivers/gpu/drm/nouveau/nv04_fifo.c
parent312d1d5fe9b832899b02c620c143bc7eb5a3bdb1 (diff)
downloadlwn-6fdb383e81a644a244299d635de5eb30ed401278.tar.gz
lwn-6fdb383e81a644a244299d635de5eb30ed401278.zip
drm/nv50: check for vm traps on every gr irq
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv04_fifo.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv04_fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv04_fifo.c b/drivers/gpu/drm/nouveau/nv04_fifo.c
index dfa600c46186..db465a3ee1b2 100644
--- a/drivers/gpu/drm/nouveau/nv04_fifo.c
+++ b/drivers/gpu/drm/nouveau/nv04_fifo.c
@@ -516,7 +516,7 @@ nv04_fifo_isr(struct drm_device *dev)
if (dev_priv->card_type == NV_50) {
if (status & 0x00000010) {
- nv50_fb_vm_trap(dev, 1, "PFIFO_BAR_FAULT");
+ nv50_fb_vm_trap(dev, nouveau_ratelimit());
status &= ~0x00000010;
nv_wr32(dev, 0x002100, 0x00000010);
}