Re: New proposed DRM interface design

Hamie
2004-09-06T21:37:43Z

Alan Cox wrote:

>On Llu, 2004-09-06 at 21:58, Hamie wrote:
>
>
>>The fs -> SCSI interface is a logical one.
>>
>>
>
>We just have to make the fb and DRI to hardware one logical.
>
>

OK. (Even) I follow that... :)

>
>
>>Unless you can have fb sitting on top of DRM of course... (I discount
>>DRM on-top of fb, because of the D == Direct... No other reason :)...
>>
>>Does it make sens to have fb ontop of DRM at all? Anyone?
>>
>>
>
>In some cases yes. The DRM is happy with the idea of the kernel being a
>DRM client too.
>
>
>

Alright... So you have drm at the lower level, and the fb sits ontop of
that... The fb just becomes a user of the DRM... No merge necessary
then, because all the actual hardware access, memory allocation etc
would live in drm? Is that right? And all the 2D code would also move
into the DRM? (IIRC the DRM just has 3D stuff in it yes? IMO It would
made sense to have all the acceleration & hardware access in the DRM
together rather than in a separate place... Correct?)

H