[Xorg] MGA patches

Alex Deucher alexdeucher at gmail.com
Thu Jul 22 05:50:15 PDT 2004

On Wed, 21 Jul 2004 23:16:03 -0700, Eric Anholt <eta at lclark.edu> wrote:
> On Wed, 2004-07-21 at 12:31, Ryan Underwood wrote:
> > Hi,
> >
> > I have two patches in the XFree86 bug tracker which seem to be meeting
> > with disinterest on the "other side".  I was wondering if anyone over
> > here had any comments or would like to merge them.  I'm getting a little
> > tired of hand applying them to my systems.
> >
> > http://bugs.xfree86.org/show_bug.cgi?id=1401
> >
> > This is a simple patch which corrects the following misbehavior.  If a
> > dualhead configuration is used in XF86Config, but dualhead is actually
> > disabled for some reason (usually due to an error during initialization
> > of the second head), then any video activity will immediately segfault
> > the server in MGASwapContextShared.  Well, if dualhead isn't actually
> > being used, then there is no pointer to the second screen, so we should
> > use MGASwapContext instead.
> If this gets in our bugzilla, I'll commit it soon, if someone else
> doesn't (the queue of patches in my tree is pretty large already).

I can add this to my list as well, although I need to get my xorg tree
building first (stupid imake) ;-)

> > http://bugs.xfree86.org/show_bug.cgi?id=1098
> >
> > This patch is more comprehensive, and adds support for the G-series
> > Maven chip.  Through the Maven, it enables DDC and DPMS on the second
> > head of a G400 as well as TV cable detection.  This is the first steps
> > towards removing the dependency on the mga HAL library; from here we
> > will have to figure out how to do mode setup through the Maven chip, but
> > the current features seem compelling enough to me to request it to be
> > included as-is.
> >
> > I've been running both these patches on my system for at least a month
> > without any problems.  However, I seem to have some problems getting
> > other people to test them.
> This is pretty exciting.  What concerns do you have about this code at
> this point?  Would any testing on a G400 singlehead help, and if so is
> there any specific testing you would want done?

when I get my xorg tree in shape I can try this on my G550.  the only
thing is, I only have 1 monitor with a vga connector.  my other one is
DVI only.  What's odd is that when I use DVI only, the monitor works
fine. when I add the other monitor the server seems to go crazy. 
perhaps you patch will help.  One concern:  do your general i2c
changes affect any other drivers?  I don't want to break anything else
by accident.


> --
> Eric Anholt                                eta at lclark.edu
> http://people.freebsd.org/~anholt/         anholt at FreeBSD.org

More information about the xorg mailing list