On Fri, Jun 27, 2003 at 04:58:52PM -0700, Ian Romanick wrote:
> Alan Cox wrote:
> >On Gwe, 2003-06-27 at 18:42, Alan Hourihane wrote:
> >
> >>The savage-1_0_0-branch wont work until the 3D driver is fixed up for
> >>Mesa 4.x - it's still based on Mesa 3.4.
> >
> >Is there any good info on doing this since the CLE266 driver has the
> >same problem
> 
> And the SiS driver. :)  Our best bet will be to do all three (even if 
> the SiS driver doesn't get any testing) at the same time.  I think the 
> people that did the original 3.4-to-4.x conversion have long since 
> forgotten what was done.  That was before I even joined the project! :)

Me and Leif did it for the Mach64 once and I already gave a roadmap to
how proceed more than once in this list. This is one [the most recent I
think] I could find:

  http://marc.theaimsgroup.com/?t=101850699700001&r=1&w=2

The FAQ has been re-organized since and the "Mesa Internals" notes can
be found on:

  http://dri.sourceforge.net/doc/faq/implementation.html#mesa-internals

Another thing which I didn't explain enough is how to base on an
existing driver. For exemplification I'll pretend the SIS is being
updated, and the updates are being based on the R128 driver. 
You basically need to have 4 reference trees in your work dir:

 (a)SIS from recent trunk                (c) R128 from ancient trunk      
     (Mesa 3.4)                               (Mesa 3.4)
          ||                                      |
          \/                                      v
 (b)sis-0-0-?-branch          <=         (d) R128 from recent trunk

Then one mimics from (a)->(b) the changes one sees in (c)->(d), by
copying'n'pasting either from (a) or from (d) into (b), as appropriate.
Using a visual diff tool (such as xxdiff) helps considerably this task.

Care to notice that it's not necessary to have a deep understanding of
the code - heck, at the time I admitedly had none! It's more like a
visual puzzle. Actually is very similar to a jigsaw puzzle: it helps to
have the full picture but it's not needed, as long as one keeps
connecting the puzzle pieces one by one it's deemed to succeed.

I hope this helps any caring sole for these old drivers to be more
confident about this task.

José Fonseca


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to