Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Mon, 16 Aug 1999 21:28:35 +0000

Re: Ping-pong buffers on KGIcon are here!

Jon M. Taylor wrote:
> > With 4-8MB of framebuffer mapped,
> > some 1024-2048 enteries in
> > the paging tables needs to be updated (unless I'm mistaken - and
> > you can unlink one step up the tree), and the TLBs flushed?
> > On a multiprocessor system, there is the risk of having to
> > flush TLBs on several processors, unless the kernel is smart
> > enough to stall the ones not needed (I hope it is...)
> 
>         Hm.  Well, the alternative is to require usersapce to call an
> acquire_fb_lock() type function, like GLIDE does.

We already do this, this is what the ggiResourceAcquire/Release API
is for. LibGGI handles this problem just fine. What actually happens
when Acquire/Release are called are just implementation details of
each driver.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se


Index: [thread] [date] [subject] [author]