From: Jon S. <jon...@ya...> - 2003-11-04 21:19:56
|
--- Eric Anholt <et...@lc...> wrote: > On Tue, 2003-11-04 at 12:25, Otto Solares wrote: > > On Mon, Nov 03, 2003 at 09:09:58PM -0800, Jon Smirl wrote: > > > I currently have this info tacked onto the end of the statistics IOCTL > (in > > > order to conserve IOCTL numbers) but there should be a better way to do > it. > > > > while you are on it, can you check why DRM_IOCTL_SET_UNIQUE ioctl does need > root > > privileges, it is more useful if access permissions could be managed via > the > > filesystem (eg. /dev/dri/cardX). > > You shouldn't use SET_UNIQUE any more. Do SET_VERSION to 1.1 and then > get the unique (the busid). This doesn't need root priv, right? Also, I wrote code to add get FB/MMIO size/length via the GetValue IOCTL for Radeon. Should I stick with a card specific IOCTL for this or do we want a general one? It's only the radeon DSO that needs this info. GetValue also returns the IRQ # for radeon, not sure what the othe cards do. GetIRQByBusID can probably easily be eliminated too. I'm starting to think that it might be possible to eliminate all need for root priv but it will take significantly more work. ===== Jon Smirl jon...@ya... __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree |