[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wdisplay pixel format
On Fri, 16 Sep 2011 09:39:12 +0200
Martin Husemann <martin%duskware.de@localhost> wrote:
> On Thu, Sep 15, 2011 at 09:20:56PM -0400, Michael wrote:
> > So, most wsdisplay drivers will hand you an 8bit colour-indexed
> > framebuffer, if you get higher colour depth it will be RGB unless you're on
> > a Sun or SGI.
> Aren't the mmap() details inherently MD anyway?
To a degree. On hardware where it's actually possible ( that includes pretty
much all PCI, SBus and UPA cards but not things like newport and crime ) the
driver will hand you a linear framebuffer at mmap(ttyE0) offset 0, there are
ioctl()s to muck with palette registers and for querying basic geometry
> Though we should have some query ioctls to get at least basic infos...
We do, and that's how the xf86-video-wsfb driver works.
Main Index |
Thread Index |