-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adam Jackson wrote:
> On Friday 17 June 2005 23:18, Ian Romanick wrote:
> 
>>Basically, user-mode should say to the kernel, "Please initialize
>>yourself with these tunable parameters."  The kernel should then do
>>whatever it wants and let user-mode know what it did.
> 
> Actually right after I said that I remembered that drmAddMap is also used to 
> set up the SAREA.  So, maybe it shouldn't die, but I don't think it should 
> need to do anything besides the DRM_SHM mappings, and those can be done 
> without needing root.

Why can't the kernel do that too?  The only reason I didn't move that
into the kernel in the MGA driver is that it would have required too
much *more* code surgery in the DDX.

I very strongly believe that the right model moving forward is for
user-mode to say to the kernel, "I beg of thee.  Initialize thyne self."
 Over the years we've had serveral cases where the user / kernel
initialization dance has needed to change, and this has resulted in
numerous backwards-compatability nightmares.  Moving the whole dance
into the kernel won't eliminate all of them, but it will certainly
reduce them (IMO).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCtvO3X1gOwKyEAw8RAiMoAJ9/FatEuR3ObELyHgS6JsYDeBvVywCdHKTK
gxhCmJLPX9eI9VOCN4jIhEs=
=g0NF
-----END PGP SIGNATURE-----



-------------------------------------------------------
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_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to