}
static int
-do_flush_locked(struct brw_context *brw, int in_fence_fd, int *out_fence_fd)
+submit_batch(struct brw_context *brw, int in_fence_fd, int *out_fence_fd)
{
const struct gen_device_info *devinfo = &brw->screen->devinfo;
__DRIscreen *dri_screen = brw->screen->driScrnPriv;
brw_check_for_reset(brw);
if (ret != 0) {
- fprintf(stderr, "intel_do_flush_locked failed: %s\n", strerror(-ret));
+ fprintf(stderr, "i965: Failed to submit batchbuffer: %s\n",
+ strerror(-ret));
exit(1);
}
brw->batch.state_relocs.reloc_count);
}
- ret = do_flush_locked(brw, in_fence_fd, out_fence_fd);
+ ret = submit_batch(brw, in_fence_fd, out_fence_fd);
if (unlikely(INTEL_DEBUG & DEBUG_SYNC)) {
fprintf(stderr, "waiting for idle\n");