xorg fbdev support for < 8 bits per pixel

Jonathan Morton jonathan.morton at movial.com
Thu May 12 06:31:58 PDT 2011


On Thu, 2011-05-12 at 17:58 +1000, Dushara Jayasinghe wrote:
> Anyway, just would like to find out, how much effort it would take to 
> add support for devices with 1/2 bits/pixel depth. I noticed that the 
> current xorg-fbdev implementation doesn't support these depths.
> 
> Just to add context to the question, I'm working on an embedded device 
> with a monochrome LCD. The CPU can generate grayscale images by upping 
> the frame-rate and modulating the pixels but the hardware implementation 
> limits the max FR so I can only support about 2 bits per pixel depth.

Would it be sufficient to use an 8bpp greyscale framebuffer and simply
ignore the low-order bits on scanout?

-- 
------
From: Jonathan Morton
      jonathan.morton at movial.com




More information about the xorg-devel mailing list