i965: Rename do_flush_locked to submit_batch().