On Mon, 2003-02-03 at 00:38, Vladimir Dergachev wrote:
> On Sat, 1 Feb 2003, Michel [ISO-8859-1] D�nzer wrote:
> 
> > On Sam, 2003-02-01 at 19:46, Mike A. Harris wrote:
> > > The ATI drivers have been having mouse cursor artifact problems
> > > in current CVS on all Radeon hardware related to Xcursor being
> > > used.  If "swcursor" is used, or if cursor themes are overridden
> > > by using "core" cursors, the problem goes away.  The problems
> > > people have been reporting include visual artifacts while cursor
> > > shapes change at window borders, cursors disappearing for
> > > anywhere up to 10 seconds or so then reappearing,
> >
> > As I said in the thread '4.2.99.4 no display, locked keyboard (Radeon
> > 7500Mobility)', the fix for the former problems causes the latter with
> > DRI enabled because the DRM interrupt handler clears the bit
> > RADEONWaitForVerticalSync() polls for. I'm working on a fix, basically
> > my plan is to use the DRM vertical blank ioctl when appropriate.
> 
> There is a patch I posted a while ago for the same problem that waits for
> retrace with a timeout - so even if the bit is cleared we timeout after
> 1/60 of sec (approx) and everything is fine anyway.

I don't like that. Polling for CRTC{,2}_VBLANK_SAVE should be foolproof,
or am I missing something?

(Did you see the further discussion about this on the xfree86 list?)


> Also, Michel, while you are at it - could you modify the irq handler in
> DRM to *only* clear bits that it is actually interested it ? Otherwise it
> clears capture and gui_dma IRQs which GATOS km driver needs and which are
> not used by drm at all.

I wouldn't mind doing that at all, in fact that's how I did it
initially, but the code has since been changed with the following
comment:

        /* Acknowledge all the bits in GEN_INT_STATUS -- seem to get
         * more than we asked for...
         */

Your argument makes a lot of sense so I'll probably change it back in
DRI CVS, but I don't know if it'll make it for 4.3.0...


-- 
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to