On Sat, 11 Sep 2004 11:54:49 -0400, Jon Smirl <[EMAIL PROTECTED]> wrote: > On Sat, 11 Sep 2004 13:53:41 +0100, Alan Cox <[EMAIL PROTECTED]> wrote: > > On Sad, 2004-09-11 at 00:36, Jon Smirl wrote: > > > inter_module can't be removed until we move to the drm_core design > > > with personality modules > > > > Of course it can go. You just fix up the DRI to start using > > try_module_get(). Actually when you have the video class driver layer it > > all comes for free anyway. > > I haven't used try_module_get(); not sure what the BSD impacts are. The > inter_module stuff has been in DRM since it was originally written. I > just moved the exisiting code around a little.
I just looked at try_module_get(), it only works if you know what module you are trying to find. This would work for the drm_core case where each personality is trying to find the core. I don't see how it helps the current case where the personalities need to find each other and they can have arbitrary module names. We know how to remove the DRM() macros and inter_module stuff by switching to a drm_core library model. DaveA has already coded up a prototype. We aren't switching because people are objecting to the change. I'm not sure what the status of the objections is, Dave knows more about this. The objection is something along the lines of what if I have drm_core linked into my kernel and I want to update to drivers that use a different drm_core. -- Jon Smirl [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel