On Die, 2003-03-11 at 14:41, Keith Whitwell wrote:
> Keith Whitwell wrote:
> >
> > Evidence for this:
> > - The lockup is new, while the code has been suspicious forever...
> > - I can exit and restart X just fine, it's only recycle that locks.
> > From the kernel point of view, these should be the same.
> > - In the Mesa embedded branch, I have a demo that closes & reopens
> > its connections to the kernel without exiting. Again this works fine.
> >
> > I've also verified that this lockup wasn't introduced in the filp work,
> > ie. it had already sneaked into the trunk somehow.
>
> OK, I've had some time to track this down. It comes down to the changes
> introduced to radeon_driver.c around 29 Oct last year.
>
>
> ----------------------------
> revision 1.45
> date: 2002/10/29 13:49:25; author: mdaenzer; state: Exp; lines: +30 -19
> * preserve CRTC{,2}_OFFSET_CNTL in 2D driver to avoid bad effects when
> pageflipping after a mode switch
> * take current page into account in AdjustFrame(); writing the CRTC offset
> via the CP was probably a bad idea as this can happen asynchronously,
> reverted
> * take frame offset into account when flipping pages
> * handle CRTC2 as well for pageflipping (untested)
> * preserve GEN_INT_CNTL on mode switches to prevent interrupts from getting
> disabled
> ----------------------------
Whoops. I plead guilty. :\
> Michel, have you got time to look into why this is causing server recycles to
> hang?
Unfortunately not really right now... I'll try to, anyway.
> I can't reproduce it on all machines, so it's possible that your test
> box is one of the ones unaffected by this lockup -- if you can't reproduce,
> let me know...
I haven't been able to reproduce it yet, but then I haven't tried very
hard (gdm defaults to restarting the server these days).
--
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel