Dropped kdrive == fbdev regression

Steven Newbury steve at snewbury.org.uk
Fri Mar 10 16:39:09 UTC 2017


On Fri, 2017-03-10 at 11:25 -0500, Adam Jackson wrote:
> On Fri, 2017-03-10 at 12:52 +0000, Steven Newbury wrote:
> > Since kdrive, in particular Xfbdev has been dropped, this has left
> > a
> > hole in support for MONO (1bpp) framebuffer devices.  I've been
> > using
> > Xfbdev for a picolcd mono matrix device for a few years.
> > 
> > The Xorg fbdev driver only supports a minimum of 8bpp framebuffer
> > formats which wasn't a problem given the existance of Xfbdev, but
> > now
> > leaves a whole class of hardware unsupportable.
> 
> Looks like this is just an oversight in the fbdev driver. Care to try
> a
> patch?
> 
> diff --git a/src/fbdev.c b/src/fbdev.c
> index af1587f..0da63fb 100644
> --- a/src/fbdev.c
> +++ b/src/fbdev.c
> @@ -623,6 +623,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
>         case FBDEVHW_PACKED_PIXELS:
>                 switch (pScrn->bitsPerPixel)
>                 {
> +               case 1:
>                 case 8:
>                 case 16:
>                 case 24:
> 
Thanks,

I'm sure I tried to address this before and there was something more to
it, but I'll give it a go.  To be honest, I was satisfied with Xfbdev,
so I didn't try too hard to get it working.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.x.org/archives/xorg/attachments/20170310/4c8105bd/attachment.sig>


More information about the xorg mailing list