On Tue, 15 Oct 2002, Charl P. Botha wrote:

> You might remember a while back that several Radeon and R128 boards suffered
> from a server crash at VT switch time.  This was due to the fact that these
> cards (for some or other reason) disable bus mastering when switching to VT.
> The bug was fixed by adding a call to xf86EnablePciBusMaster() in
> {RADEON,R128}EnterVT().  This change was subsequently committed to both DRI
> and XFree86 main trees.

> I noticed the other day that this change has disappeared again with the
> following CVS log message:

> revision 1.65
> date: 2002/10/08 22:14:05;  author: tsi;  state: Exp;  lines: +1 -8

>  367. When enabling PCI adapters, also enable their bus mastering capability;
>        Consequently, deprecate xf86EnablePciBusMaster() (Marc La France).

> This would mean that the bug is back and people will again have the stupid

No, it doesn't.

> VT switch lockup.  What would be the New and Improved Way(tm) way of
> explicitly re-enabling bus-mastering at RADEONEnterVT() time since
> xf86EnablePciBusMaster() has been deprecated?

Just like the change notice says:  When a PCI device is enabled, it's bus
mastering is also enabled.  This occurs before any driver code is
executed.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to