Another problem I have is determining the name of the driver DSO to load. I would like to just take the driver name from the DRM driver, concat _dri.so to it and load. This works for everything except the radeon driver.
There are several solutions: 1) mess with the build to make two DRM drivers, one for R200 and one for radeon. They would be identical except for driver name strings and PCI IDs. 2) Change the radeon DRM to report back it's name as r200 it is on r200+ hardware. Later if radeon_dri.so and r200_dri.so were merged this driver would still work if a sym link was made. 3) Teach my generic loader about all of the radeon PCI IDs and which family they belong to (yuck!). 4) Load radeon_dri.so. Let it look at the PCI IDs. If it is r200 return error to loader and loader would then load r200_dri.so. (slow!) ===== Jon Smirl [EMAIL PROTECTED] __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
