Re: [PATCH] matroxfb update to new API
From: Petr Vandrovec <hidden>
Date: 2003-05-27 20:05:45
On 27 May 03 at 21:54, Sven Luther wrote:
On Tue, May 27, 2003 at 09:46:45PM +0200, Petr Vandrovec wrote:quoted
On 27 May 03 at 21:44, Nicolas Souchu wrote:quoted
On Tue, May 27, 2003 at 07:50:21PM +0200, Petr Vandrovec wrote:quoted
Hi, I just created stripped down version of matroxfb - it is available as diff for 2.5.70 at ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/mga-stripdown-2.5.70.gz. I'll still update my own version of fbdev layer and matroxfb, as this stripped down driver is quite unusable for me. Petr VandrovecWhat do you mean exactly?What I say... matroxfb driver & fbcon layer which supports fbset, updates all visible screens, supports text mode, implements clear_margins as black color and not current background color. You can download that patch for several months from ftp://platan.vc.cvut.cz/pub/linux/matrox-latest - current latest is mga-2.5.69-c1155.gz, it applies to 2.5.70 with one offset. If you do not have Matrox graphics card in your device, then this patch is of no use for you.If i have a matrox card and another supported by the new API, will both work with this latest patch ?
Unfortunately no. It should work if you'll add dummy 'con' argument
to the fb_ioctl, and dummy struct vc_data* to fb_check_var. Rest of
code should correctly branch according to the value of fbinfo's
matroxfb_switch_con field, and fbops's fb_{get,set}_cmap, fb_putcs,
set_font and cursor fields (NULL => use cfb_imageblit for putc,
fb_cursor for cursor, and generic code for setfont and cmap).
I never tried to update new vesafb to this interface, as supporting
fbset on /dev/tty* was already vetoed long ago, and I have no problem
with maintaining it outside of tree.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge