Hi, I am the maintainer of V4L capture module for All-in-Wonder cards.
I need some help figuring out how to interface with drm.

 The problem: the module works fine, except that (at least Radeons) want 
physical memory from AGP addressable range. So I can either write my own
memory allocation routines or interface with drm to do this. The second
being the more preferable. 

 The problem is that 
   a) drm does not export headers to other modules (nothing in
/usr/include/linux/drmxxxx.h
   b) looking at drm.h and drmP.h in the driver source does not yield
immediate answer either. All I want is to obtain an agp addressable memory
chunk of a certain size.
      ba) What are those DRM() wrappers ?
      bb) can I simply call DRM(alloc) or do I need to "acquire" drm in a
         certain way ?

                   thanks !

                          Vladimir Dergachev


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to