This is the Mir EGL platform patch. It's three roughly independed branches - gbm changes, gallium DRI Image 7 support (minus radeon, as that wants a kernel patch I'm hacking on), and prime-in-DRIbuffer - then the EGL platform itself. If it's easier to review I can post those branches separately.