[Intel-gfx] [PATCH] drm: Aggressively disable vblanks

Mario Kleiner mario.kleiner at tuebingen.mpg.de
Mon Dec 27 13:30:47 PST 2010

On Dec 27, 2010, at 12:16 PM, Ville Syrjälä wrote:

> On Mon, Dec 27, 2010 at 12:58:10AM +0100, Mario Kleiner wrote:
>> 2. There are gpu's firing spurious vblank irq's as soon as you enable
>> irq's
> You're sure this isn't simply a matter of the driver forgetting to ack
> the irq just before enabling it?

Good point. This was on radeon. I can't remember for certain if it  
happened always, or only frequently. I can check that later this week  
when i'm back at the test machine.

Anyway, it's good to be robust against such problems, regardless if  
it is gpu quirks or driver bugs. The current implementation would  
filter the redundant vblank irq and DRM_DEBUG a message if the  
drm.debug parameter is set.


> -- 
> Ville Syrjälä
> syrjala at sci.fi
> http://www.sci.fi/~syrjala/

Mario Kleiner
Max Planck Institute for Biological Cybernetics
Spemannstr. 38
72076 Tuebingen

e-mail: mario.kleiner at tuebingen.mpg.de
office: +49 (0)7071/601-1623
fax:    +49 (0)7071/601-616
www:    http://www.kyb.tuebingen.mpg.de/~kleinerm
"For a successful technology, reality must take precedence
over public relations, for Nature cannot be fooled."
(Richard Feynman)

More information about the dri-devel mailing list