Howdy!

  Passing this along from the GLX list. It appears you can't use memset to
filling in pixel values for the framebuffer on a PowerPC. 

> >> One interesting thing I ran into today:  memsets use the PPC dcbz
(data
> >> cache block zero) instruction, which is a Good Thing, but it causes a
bus
> >> error if you do it to the framebuffer, which is marked as uncachable. 
That
> >> threw me for a while.
> >

  Ah nice catch, now i know why ggi fails with fbdev in ppc :)

> >How did you get around that problem? 
> 
> I had to do my own simple little loop based memset routine.
 

      -----==                                                  
      ----==   _                                           
      ---==   (_)__  __ ____  __       James Simmons
      --==   / / _ \/ // /\ \/ /       [EMAIL PROTECTED]
      -=====/_/_//_/\_,_/ /_/\_\       fbdev/gfx developer
    The choice of a GNU generation

Reply via email to