On Fri, 2008-11-21 at 13:32 -0800, Keith Packard wrote:
> On Fri, 2008-11-21 at 23:14 +0200, Michel Dänzer wrote:
> 
> > No, radeon doesn't (un)install the IRQ handler on VT switch.
> 
> It's not a matter of uninstalling the IRQ handler;

Yes, it is.

> the question is whether the hardware frame count gets reset at VT
> switch time. The i915 driver uses the hardware frame counter to avoid
> receiving interrupts when no application is waiting for one, but that
> frame counter is reset to zero when the crtc clock is reprogrammed.

Same for radeon, but the DRM_PRE/POST_MODESET ioctls compensate for
that. This didn't work for i915 because it uninstalls the IRQ handler on
VT switch, which destroyed the vblank information.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to