linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Comments on fbgen.c and fbcon-accel
@ 2002-05-07 13:33 Petr Vandrovec
  0 siblings, 0 replies; only message in thread
From: Petr Vandrovec @ 2002-05-07 13:33 UTC (permalink / raw)
  To: Antonino Daplas; +Cc: linux-fbdev-devel

On  7 May 02 at 21:26, Antonino Daplas wrote:
> > And set_par() could do some optimizations based on a shadow map of the register
> > contents, also to avoid artefacts when switching to a different VC with the
> > same video timings. Like:
> > 
> >   write_reg(reg, val)
> >   {
> >       if (shadow[reg] != val) {
> >   shadow[reg] = val;
> >   hardware[reg] = val;
> >       }
> >   }

I was doing that long ago in matroxfb, and it simple does not work :-(
There is too many applications which programs video hardware directly.
So currently matroxfb always reprogram most of registers, and for
critical ones (PLL) it reads back value from hardware, and not from some
shadow area. Speed difference is invisible and reliability is much better.
                                                Best regards,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                     

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-07 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07 13:33 Comments on fbgen.c and fbcon-accel Petr Vandrovec

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).