On Sun, Jan 27, 2002 at 06:03:42PM +0100, Michel Dänzer wrote:
> After digging around the code a bit, my current theory is that the
> indirect buffer is incorrectly reused after the start of a new server
> generation. The only difference I see in the radeon driver (which I
> assume doesn't have the same problem?) is in the LeaveServer() function,
> where it releases the indirect buffer. Can you try if that fixes the
> problem?
Yes this seems to have fixed it, here's the patch:

--- ati.2/r128_dri.c    Mon Dec 31 06:00:11 2001
+++ ati.2-shurdeek/r128_dri.c   Sun Jan 27 20:50:19 2002
@@ -308,6 +308,9 @@
            info->sc_bottom   = INREG(R128_SC_BOTTOM);
            info->aux_sc_cntl = INREG(R128_SC_BOTTOM);
        }
+    } else {
+       R128CCEFlushIndirect(pScrn);
+       R128CCEReleaseIndirect(pScrn);
     }
 }

Would please the responsible person in all projects (dri, xf86, gatos) apply it?

Bye,

Peter Surda (Shurdeek) <[EMAIL PROTECTED]>, ICQ 10236103, +436505122023

--
       The product Microsoft sells isn't the software; it's comfort.
         The product that Linux vendors usually sell is freedom.

Attachment: msg02555/pgp00000.pgp
Description: PGP signature

Reply via email to