We should discuss the design of DRM maps so that we don't work at cross purposes.
I have a new requirement coming from the egl-driver work that my user space driver does not have root priv so it can't create the maps. This implies that the drivers need to pre-create the maps. To access the maps I rely on doing GetMap and searching for the map I need. My driver does not have the info needed to create the maps even if it had the privs. I have never liked how user space needs to figure out a bunch of info about the hardware and them tell it to the device driver since the device driver obviously already knows all of the info it is being told. The register map should be marked read only or root only. I don't need access to the register map. 1) Should the maps be created once at driver load time or on open/close? I can probably make the egl drivers work either way. 2) Is compatibility maintained by doing a match in AddMap and then returning the matching map? 3) Can the driver pre-build the AGP/PCI gart maps? If these maps are marked differently it is way for my driver to tell AGP from PCI cards. 4) Are there issues with sarea other than the one we talked about with XvMC? 5) I had set things up so that a reset program could access the register/framebuffer maps before the card was initialized. You need that because you can't initialize a card that hasn't been reset. BenH is working on another reset scheme so this may not be needed any more. 6) Is there some need for user space collecting info about the hardware and then feeding it back into the driver that I can't see? 7) Any more issues? -- Jon Smirl [EMAIL PROTECTED] ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
