Denis Oliver Kropp a écrit :
> Quoting Mark Adams:
> 
>>   There are various framebuffer drivers for the cle266: there's a version of
>>   viafb in the DirectFB CVS, there's a version of the code released by VIA
>>   patched for 2.6 kernels, and there's the latest 2.6 release of the driver
>>   from VIA.
>>
>>   Most people who have done any work in this area have been using the second
>>   of those as the starting point as other mailing list articles suggest that
>>   the most recent code from VIA does not work out of the box with DirectFB.
>>   The version you need is the one from [1]http://patcher2k.012webpages.com/.
> 
> I'm installing the patcher2k version now. Then I apply your patch. If 
> everything
> works I'll create a working version with all benefits based on the latest VIA
> release and push it back to them :)

Is "back to them" = "back to VIA", or "back to patcher2k" ?

If "back to patcher2k" :
* you will have all patches right from many OSS guys
* you will improve a code that currently has no maintainer code
* the hardware cursor code is currently disabled there : the reenable
code can be found in the VIA code, but I didn't patch that since I don't
need cursor
* you won't be able to push it back to VIA for wide distribution

If "back to VIA" :
* you will have to start from VIA's code
* this one is not the starting point for many current patches : we won't
have noscale mode or field parity
* maybe they won't accept your submission
* there is a difference in accelerator ID between the kernel driver and
the DirectFB driver( 0x50 vs 0x77, IIRC)
* the VIA code doesn't support double buffering well (I have a small
patch to make dfbshow happy, by disabling fake values)
* you will benefit from a wide distribution of the kernel driver, and
DirectFB will work out-of-the-box with many distros

I think patcher2k is a port from 2.4 to 2.6 of the original DiverFB CVS
repository driver, which in turn is a fork of the original VIA code.
VIA since has evolved a lot.

-- 
NH


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to