[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Dropped kdrive == fbdev regression
From:       Steven Newbury <steve () snewbury ! org ! uk>
Date:       2017-03-10 16:39:09
Message-ID: 1489163949.12836.8.camel () snewbury ! org ! uk
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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.

["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic