DRI2 depends on TTM, which isn't going to be integrated in the kernel before 2.6.26; so it'll probably be a while before this hits the distributions.
Building a package from source (untested):
sudo apt-get build-dep compiz-core apt-get source compiz-core cd compiz-co<TAB> patch -p1 < /path/to/compizrotate.patch dpkg-buildpackage -rfakeroot -us -uc
DRI2 depends on TTM, which isn't going to be integrated in the kernel before 2.6.26; so it'll probably be a while before this hits the distributions.
Building a package from source (untested):
sudo apt-get build-dep compiz-core compizrotate. patch
apt-get source compiz-core
cd compiz-co<TAB>
patch -p1 < /path/to/
dpkg-buildpackage -rfakeroot -us -uc