On Tue, Jul 23, 2002 at 06:33:27PM +0200, Benjamin Herrenschmidt wrote: > >So, appended is a patch that changes the RADEONEnterVT code in > >radeon_driver.c so that it re-enables bus mastering mode. Michel has tested > >it on his TiBook (which doesn't have the problem) and the patch doesn't seem > >to break anything. > > > >Please apply to the DRI trunk and XFree86 CVS if you think this is > >applicable. If you can keep my name in the source, I'll be even happer. > >Yes, small things amuse small minds. ;) > > I don't think this is the proper fix. It's probably only a workaround. > It stops the card from bus mastering, thus probably aborting any > bus master transaction (so all ring operations), but that should > _fix_ any problem unless the card is still doing something it > shouldn't do at this point. > > Actually, even if I know no fbdev driver doing so, those could well > want bus mastering as well and might be confused by XFree disabling > it.
The patch doesn't disable bus mastering, but ENABLES it when we return to X. We still don't know why it gets disabled in the first place when switching to a VT, as the X code does NOT disable bus mastering at all. Our current suspect is card/agp firmware. -- charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/ _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert