[PATCH 7/8] DRI2: support generic swap events