
Originally Posted by
bridgman
I just posted a bit of an update. After some discussion internally, we're thinking about starting a new copy of the r600 driver for Evergreen. The programming model is still very similar to earlier chips but the register addresses have moved around a lot. This gives us a good excuse to start a Gallium3D-based driver earlier - not sure if we are going to do it or not but we're going to look at it.
So... the only "definitive" change in plans is that there is likely to be a separate mesa driver for Evergreen, basically an edited copy of the r600 driver. I guess we might call it r800 to make everyone happy, as long as you all accept that there is no r800 just Evergreen
Not sure what will happen with ddx and Gallium3D driver yet; we'll revisit that after getting further on the Evergreen Mesa driver and discussing options with Jerome & Corbin.
I'm certainly no expert, but if only the register addresses are different, can't they just be #ifdef'd?
So you could do something like this:
Code:
#ifdef _R600
#define REGISTER_ADDRESS 0xDEADBEEF
#elif _R800
#define REGISTER_ADDRESS 0xFEEBDAED
#endif