On Mon, 2001-12-17 at 15:44, Aleksandr Koltsoff wrote:

> Knowing that I risk of sounding weird, I ask anyway:
> Where can I find information/sources/examples on how to access DRM directly
> (under Linux)? I've read the PI-docs on the subject but they're rather
> high-level and I suspect somewhat out of date. I'd like info on the present
> code and overall design.
> 
> Basically what I need is:
> - put some "surfaces" into the video memory (also in memory trough agpgart,
> need info on that as well ;-)
> - surfaces may be RGBA (A meaning alpha, not 'Dont care'), or some YUV
> (packed or planar)
> - render these surfaces to the screen at each screen refresh (yes, I want to
> sync to the vertical retrace) at various locations on the screen
> - support for multiple graphics boards (some may be multihead, some not)
> 
> Since radeon chips have three texture units and they're capable of
> color-space conversion, seems only logical I'd like to use them directly.
> I do have the specs for the chip itself (if you can call them specs ;-), but
> was wondering how to reuse existing code (since it exists) and also agpgart.
> 
> I'm not interested in reimplementing DRI, just accessing DRM/agpgart. And I
> know it will be non-portable code.
> 
> OR if there is any sensible and fast way of doing this trough OpenGL and
> with X (multiple radeons don't go with X) I'd like to hear about that too.

This would probably be better suited for dri-devel, but basically the
DRM is just another kernel interface. Look at the X server and DRI
driver code for examples how to use it.


-- 
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to