Re: Re: Added 915G to intelfb of 2.6.10-kernel-sources
From: Antonino A. Daplas <hidden>
Date: 2005-01-28 22:01:52
On Saturday 29 January 2005 00:42, Sylvain Meyer wrote:
Hi Axel, Thanks for your patch but could you format it as described in this document http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt and resend it. The best is to use these tools to maintain and send kernel patches http://www.zip.com.au/~akpm/linux/patches/ Also you should subscribe and send fbdev-related mails to linux-fbdev-devel@lists.sourceforge.net Regards Sylvain Buttchereit, Axel (XLsigned) a écrit:quoted
Hi, though I'm quite sure that the attached patch (intelfb-...) is far from complete I think that someone/you (guessing from the comments that you are maintaining the code) might be interested in my work.
Can you resend the patch that touches only intelfb? Also, there are a lot of XLSigned with the printk's, what is that?
quoted
Having no technical documentation (from Intel) I had to "develop" the patch by looking at the xfree/xorg-code that already supports I915G and by using trial-and-error (My ThinkCentre's internal graphics device is an I915G and that made me start working on this subject). During development and testing I've discovered that the way "intelfb" and maybe other framebuffer-drivers are using "modedb" does not work, if compiled as a module. The initial "modedb entries" are lost (overwritten?) when "fb_find_mode" is called from the module. Linking "intelfb" into the kernel works as
Because the modedb array is marked __init. You can however pass the vesa_modes array instead to fb_find_mode().
quoted
expected. ByTheWay: Why isn't the framebuffer module (intelfb) automatically loaded, if "video=intelfb:..." is specified as kernel-parameter?
If you want it loaded automatically, compile the driver statically. If you don't want to load a compiled-in driver, use: video=intelfb:off Tony ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl