Re: [PATCH] back out fbdev sysfs support

From: Benjamin Herrenschmidt
Date: Sat Feb 14 2004 - 18:04:59 EST


On Sun, 2004-02-15 at 04:28, Dave Jones wrote:
> On Sat, Feb 14, 2004 at 06:06:00PM +0100, Christoph Hellwig wrote:
>
> > What I meant is that the FB maintainer should try to get the existing
> > fixes merged before adding dubious features.
>
> Whilst on the subject, why does the fb code need sysfs support
> anyway ?

We want a class device so the drivers can expose some informations like
the monitor probing data (EDID), allowed modes list etc... to userland.

I now have access to these infos in some drivers like radeonfb that do
full monitor probing, and the fbdev "API" provides no way to get that
down to userland (for use by xserver or MOL for example). I could just
add some cases to the existing ioctl API, but I don't like that ;)

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/