I've pulled a few of the cleaner bits of rework out for review. The first thing is to move all the tt bind tracking into the driver so the core doesn't do it all anymore. Once that is done it's possible to flip over how destroy works so the drivers call some common code instead of vice-versa. With those two done the unbind can be completely moved into drivers, so it happens before the unpopulate in the common code. This removes a lot of unbinds from the core code (only really one left). Then a patch to flip some drivers over to direct calling their bind functions instead of indirect (just a trivial cleanup really) (bind needs a lot more work). Then I just refactored out some common patters in the move code, which should make it easier to pinpoint the codeflow for future bind changes. Dave. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel