Re: MGA fixes don't compile

2003-07-03 Thread Andrew C Aitchison
On Wed, 2 Jul 2003, Alex Deucher wrote: Actually you could probably replace the HAL functionality by using the linux matrox framebuffer driver or directfb driver as a reference. it exposes just about all the functionality of the Gxxx driver (tv out, flatpanel, YUV modes on the second crtc).

Re: MGA fixes don't compile

2003-07-03 Thread Alex Deucher
I believe someone asked Petr once and he said he didn't mind if we used his driver as a reference. IANAL, but as long as you didn't just blatantly cut and paste the code, couldn't you use it as a reference? Still, probably better to get Petr's (and possibly directfb's) ok. Alex --- Andrew C

Re: MGA fixes don't compile

2003-07-02 Thread Egbert Eich
David Dawes writes: Maybe the situation would be better if the mga_hal module was limited to doing just those initialisations that can't, for whatever reasons, be done in open source. If I recall correctly, the original reason for not having this in open source was that enabling the

Re: MGA fixes don't compile

2003-07-02 Thread Alex Deucher
--- Egbert Eich [EMAIL PROTECTED] wrote: The truth is that we don't know what MGA HAL does exactly. It does a lot of initialization stuff when it is called in PreInit()(!) and it sets up video modes differently than the OpenSource code does. In some cases it does the wrong thing so I had to

MGA fixes don't compile

2003-07-01 Thread Dr Andrew C Aitchison
260. Disabled mode writeback to client program from MGA driver (Egbert Eich). This doesn't compile on RedHat 6.2 / egcs-2.91.66 mga_driver.c:3542: warning: preprocessing directive not recognized within macro arg mga_driver.c:3542: warning: preprocessing directive not recognized within macro

Re: MGA fixes don't compile

2003-07-01 Thread Dr Andrew C Aitchison
On Tue, 1 Jul 2003, Egbert Eich wrote: Dr Andrew C Aitchison writes: 260. Disabled mode writeback to client program from MGA driver (Egbert Eich). This doesn't compile on RedHat 6.2 / egcs-2.91.66 Hi Andrew, Yes, thanks! Mattieu already told me. It builds with gcc

Re: MGA fixes don't compile

2003-07-01 Thread Alex Deucher
it's also needed for mergedfb support on mga, although it could probably be rewritten to not use HAL. Alex --- Dr Andrew C Aitchison [EMAIL PROTECTED] wrote: On Tue, 1 Jul 2003, Egbert Eich wrote: Dr Andrew C Aitchison writes: 260. Disabled mode writeback to client program from

Re: MGA fixes don't compile

2003-07-01 Thread Egbert Eich
Dr Andrew C Aitchison writes: On Tue, 1 Jul 2003, Egbert Eich wrote: I'd be very unhappy to lose the HAL; it helps a lot when getting a G550 to work with DVI monitors. Some monitors work without it, but others just don't seem to work unless I use mga_hal_drv.o I believe that the

Re: MGA fixes don't compile

2003-07-01 Thread David Dawes
On Tue, Jul 01, 2003 at 02:55:19PM +0100, Dr Andrew C Aitchison wrote: On Tue, 1 Jul 2003, Egbert Eich wrote: Dr Andrew C Aitchison writes: 260. Disabled mode writeback to client program from MGA driver (Egbert Eich). This doesn't compile on RedHat 6.2 / egcs-2.91.66 Hi