Re: New DRM model

Nicolas Souchu <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
On Mon, Feb 09, 2004 at 01:32:52PM -0800, Jon Smirl wrote:
> --- Benjamin Herrenschmidt <[email protected]> wrote:
> > On Tue, 2004-02-10 at 07:01, Jon Smirl wrote:
> > > I have a new version of DRM at bk://mesa3d.bkbits.net/drm 
> > > In it's current form it's 2.6 kernel only. Some support is generic but I've
> > > mainly be working on an R200. It is still under development with lots of
> > work to
> > > do.
> > 
> > Nice, but I still need a equivalent of radeonfb for mode setting, which
> > has to be in the kernel. And fbcon should survive for a while, at least
> > until there's replacement. Ideally, the new model shouldn't enforce which
> > of fbcon or userland console one uses.
> 
> Why does general purpose mode setting need to be in the kernel? It's a 100K of

To enable fallback to kernel debugger when your user app crashes. Also, to enable different
apps to share safely the graphic resources.

> code. We're only talking about about the few seconds between power-on and early
> user space starting. After we get early user-space I use it to run the mode code
> in user space.

Debugging early boot becomes quite impossible?

> Note that the new model only applies to DRM devices. Everthing else would
> continue with the old code.

What is exactly a DRM device?

-- 
Nicholas Souchu - [email protected] - [email protected]
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.