Re: Dropped kdrive == fbdev regression

2017-03-10 Thread Steven Newbury
On Fri, 2017-03-10 at 11:25 -0500, Adam Jackson wrote:
> On Fri, 2017-03-10 at 12:52 +, 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
Description: This is a digitally signed message part
___
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

Re: Dropped kdrive == fbdev regression

2017-03-10 Thread Adam Jackson
On Fri, 2017-03-10 at 12:52 +, 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:

- ajax
___
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

Dropped kdrive == fbdev regression

2017-03-10 Thread Steven Newbury
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.


signature.asc
Description: This is a digitally signed message part
___
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