linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Sven Luther <sven.luther@wanadoo.fr>
Cc: Nicolas Souchu <nsouch@free.fr>, linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [PATCH] matroxfb update to new API
Date: Tue, 27 May 2003 22:05:12 +0200	[thread overview]
Message-ID: <2BB137F3115@vcnet.vc.cvut.cz> (raw)

On 27 May 03 at 21:54, Sven Luther wrote:
> On Tue, May 27, 2003 at 09:46:45PM +0200, Petr Vandrovec wrote:
> > On 27 May 03 at 21:44, Nicolas Souchu wrote:
> > > On Tue, May 27, 2003 at 07:50:21PM +0200, Petr Vandrovec wrote:
> > > > 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 Vandrovec
> > > 
> > > What 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

             reply	other threads:[~2003-05-27 20:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 20:05 Petr Vandrovec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-27 21:08 [PATCH] matroxfb update to new API Petr Vandrovec
2003-05-28  8:07 ` Geert Uytterhoeven
2003-05-27 19:46 Petr Vandrovec
2003-05-27 19:54 ` Sven Luther
2003-05-27 20:53 ` James Simmons
2003-05-27 17:50 Petr Vandrovec
2003-05-27 21:44 ` Nicolas Souchu
2003-05-27 22:20 ` James Simmons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2BB137F3115@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=nsouch@free.fr \
    --cc=sven.luther@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).