[Open-graphics] HELP: Need minimal x.org driver for O'Reilly conference demo

Timothy Normand Miller theosib at gmail.com
Thu Jun 14 10:32:23 EDT 2007


Thank you.

I think we should begin by doing what we've already been doing under
Linux to access the card.  Using lspci, we can find the PCI busid.
Then using libpci, we can search devices for the right one to get the
physical memory locations.  Then using mmap, we can map the memory
space into the user process (x.org).  (I'm hoping that libpci
functionality is provided by x.org to the DDX module.)

One of the BARs is the framebuffer, and we'll configure it as a simple
24-bit display.

Another one is the "engine".  We'll provide offsets for things like
the video controller and memory controller.  When we have them all
together, we can change the #defines in a header file and go.  I'm not
sure there's much else to do.

On 6/14/07, Paul Brook <paul at codesourcery.com> wrote:
> > > Certainly the "dummy" and "fbdev" drivers look fairly straightforward,
> > > maybe steal some of the PCI code from a card with a simple linear
> > > framebuffer (s3?)
> >
> > Ok.  So I was wondering if I could get someone to help me with that,
> > because I have a gajillion other things to do.
>
> Ok, I'll bite. Where can I find a description of the interface I'm supposed to
> be talking to (PCI IDs, mbars, registers, etc)?
>
> Paul
>


-- 
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project


More information about the Open-graphics mailing list