Re: DRI integration

Keith Packard <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Around 12 o'clock on Nov 12, Jon Smirl wrote:

> I was asking about DRI integration plans because I am a developer on DRI/Mesa.
> Is xserver intended to remain a small footprint server or is the plan to flesh
> it out over time with things like DRI support? I've been working on splitting
> out Radeon DRI/EDID support from Xfree86. It might be possible for me to add
> this code back into xserver.

The kdrive infrastructure is small because X servers don't need to be
complicated to be useful.  What I'd like to do is move the X server to
depending more on common kernel infrastructure, like DRI or fbdev (except
fixed).  I think the kernel should support:

 1)	Device detection
 2)	Device arbitration
 3)	DMA/IRQ management
 4)	Video memory allocation
 5)	AGP memory allocation
 6)	Mode selection (maybe with user-mode help?)
 7)	Input devices (/dev/input + hotplug)

That way GL apps could talk directly to the hardware when appropriate, or 
share the system with X at other times.  I'd also like to look into 
ways to share surfaces across X and GL so that we can use GL to composite 
X window contents.

If you've got kernel support for EDID and other Radeon bits merged into 
the DRI, it would be fun to write a DRI-based Radeon kdrive server and see 
how fast we can make it go.

-keith
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.