xf86-video-mga patch

Brian Somers brian at FreeBSD.org
Mon May 31 08:26:21 UTC 2010


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"?

Thanks.

-- 
Brian Somers                                          <brian at Awfulhak.org>
Don't _EVER_ lose your sense of humour !               <brian at FreeBSD.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 306 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20100531/a6041c43/signature.pgp


More information about the freebsd-x11 mailing list