On Sat, 2004-01-17 at 04:48, Micha Feigin wrote: > > There does seem to be a point to completely shutdown dri when leaving X > and restarting on entry which would seem at list
BTW, I think you mean 'at least' instead of 'at list'? Took me a while to understand what you mean. :) > on the surface to support to accelerated X servers running on the same > machine possibly at different color depths (I had problems with a second > one especially with a different color depth), http://penguinppc.org/~daenzer/DRI/radeon-reinit.diff works fine with several servers at the same depth, but there are also problems with different depths. > + int ret; > + /* int major, minor, patch; > + > + DRIQueryVersion( &major, &minor, &patch ); > + > + if (minor >= 9) { */ > + xf86DrvMsg( pScreen->myNum, X_INFO, > + "[RESUME] Attempting to re-init Mach64 hardware.\n"); > + /* } else { > + xf86DrvMsg(pScreen->myNum, X_WARNING, > + "[RESUME] Cannot re-init Mach64 hardware, DRM too old\n" > + "(need 1.9.0 or newer)\n"); > + return; > + } */ You can remove the commented out code. The radeon driver checks for the DRM minor version to make sure the resume ioctl is available. You don't seem to need a new ioctl at all, checking for the DRI version doesn't make sense here. -- Earthling Michel DÃnzer | Debian (powerpc), X and DRI developer Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
