Mesa: Add flushing patch