driver: return a fence from flush_frontbuffer if requested