Re: radeon-pre-2

Alan Cox
2004-09-13T16:15:44Z

On Llu, 2004-09-13 at 16:20, Vladimir Dergachev wrote:
> > It depends how the various components fit together. Clearly for Radeon
> > you want everyone using the DMA command path when DRI is loaded. That
> > doesn't require "one driver"
>
> Alan, do I understand right that you are proposing to have two pieces of
> code in the framebuffer - one that can program the card in the absence of
> DRM driver and one that uses CP when it is present ?

We could do, or the DRM driver could provide DMA methods for the
framebuffer driver to use. I mean it might be that we should always be
using DMA methods in all the drivers for radeon all the time anyway ?

The fb driver gets told when DRI comes and goes which means the two can
choose to co-operate if they wish.