drm/nouveau: ratelimit IRQ messages
authorJiri Slaby <jslaby@suse.cz>
Tue, 5 Oct 2010 13:07:33 +0000 (15:07 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 18 Nov 2010 04:38:07 +0000 (14:38 +1000)
commitda3bd8203082794d26de3a0a6a7d1ee639d07eb1
treef8f9b67876023bba953f53227052c34600452b4a
parent0143832cc96d0bf78486297aad5c8fb2c2ead02a
drm/nouveau: ratelimit IRQ messages

There are two messages in the ISR of nouveau which might be printed out
hundred times in a second. Ratelimit them. (We need to move
nouveau_ratelimit to the top of the file.)

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_irq.c