Linux-2.6.31-rc4 - shut the annoying "failed to acquire vblank..."

From: Paul Rolland
Date: Tue Jul 28 2009 - 03:31:36 EST


Hello,

I sent a mail long ago about this message :
tux kernel: [drm:drm_wait_vblank] *ERROR* failed to acquire vblank counter,
-22 showing up more than 10 times per second, but was told that I had some
old userspace apps running... As I was using an old FC8, I forgot about it.

But I'm now running a quite recent FC11, pure 64bit machine, and when I run
a vanilla kernel, I have this message showing again and again.

I propose to apply the following patch :

--- drm_irq.c.orig 2009-07-26 21:36:20.000000000 +0200
+++ drm_irq.c 2009-07-26 21:36:34.000000000 +0200
@@ -566,7 +566,7 @@

ret = drm_vblank_get(dev, crtc);
if (ret) {
- DRM_ERROR("failed to acquire vblank counter, %d\n", ret);
+ DRM_DEBUG("failed to acquire vblank counter, %d\n", ret);
return ret;
}
seq = drm_vblank_count(dev, crtc);

to shut the message. This is at least what I do on my machine to have it
running quietly.

Anyway, if anyone care to explain why we have this "error", I'd be glad to
learn about it.
And if anyone wants me to test some patches, I'll be glad to.

Regards,
Paul


--
Paul Rolland E-Mail : rol(at)witbe.net
CTO - Witbe.net SA Tel. +33 (0)1 47 67 77 77
Les Collines de l'Arche Fax. +33 (0)1 47 67 77 99
F-92057 Paris La Defense RIPE : PR12-RIPE

Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un
navigateur "Some people dream of success... while others wake up and work
hard at it"

"I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry that 10
or 15 years from now, she will come to me and say 'Daddy, where were you
when they took freedom of the press away from the Internet?'"
--Mike Godwin, Electronic Frontier Foundation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/