Looks like it wasn't just Radeon affected by http://bugs.freedesktop.org/show_bug.cgi?id=13244. I'd been wondering for a while why I couldn't get compiz working on my i965, turns out it was being built with --enabled-dri (Gentoo ebuild), and so lacked DAMAGE support.
Created attachment 18364 [details] [review]
Don't skip the checks for DRI headers with --enable-dri
The attached patch should fix this.
Thanks, Julien. I pushed this.