xf86-video-mga patch

Brian Somers brian at FreeBSD.org
Tue Jun 1 19:01:43 UTC 2010


Hopefully you got my other mail with the attachment.

Cheers.

On Tue, 01 Jun 2010 12:21:53 -0500, Robert Noland <rnoland at FreeBSD.org> wrote:
> 
> 
> Brian Somers wrote:
> > Hi,
> > 
> > Since upgrading to xorg-7.5 (on -current) my dual-head matrox g450 configuration
> > has broken with the following error:
> > 
> >     "MGA(0): Unable to map BAR 0.  Invalid argument (22)"
> > 
> > This is talked about on various forums and can be fixed with the attached patch.
> > 
> > This patch is a (slightly) modified version of "mga-driver-3.patch" which was against
> > the 1.4.9-r1 version of the mga driver.  There is a "mga-driver-4.patch" available that
> > is against the 1.4.11 version of the mga driver (which we have in the ports tree), but
> > it doesn't build on FreeBSD.  As my patch works, I'd like to submit it to the tree pending
> > any updates from xorg.  You can read more about these patches by googling the above
> > error message.
> > 
> > BTW, I chose not to merge it with the other mga_driver.c patch as it's easier to pull
> > if and when the xorg folks produce an official fix.
> > 
> > So is it ok to submit this as "patch-mga-driver-3"?
> 
> The attachment was stripped.
> 
> robert.
> 
> 
> > Thanks.
> > 
> 


-- 
Brian Somers                                       <brian at Awfulhak.org>
Don't _EVER_ lose your sense of humour !            <brian at FreeBSD.org>


More information about the freebsd-x11 mailing list