ilo: rename ilo_cp_flush()
[mesa.git] / src / gallium / drivers / ilo / ilo_blitter_blt.c
index b55327bda9a4b3eccf037251c2e9d82e2f84242b..aead0b2cf4043a3ff36b8f566a755a4ce8eaea21 100644 (file)
@@ -60,7 +60,7 @@ ilo_blitter_blt_begin(struct ilo_blitter *blitter, int max_cmd_size,
    }
 
    if (!ilo_builder_validate(&ilo->cp->builder, count, aper_check))
-      ilo_cp_flush(ilo->cp, "out of aperture");
+      ilo_cp_submit(ilo->cp, "out of aperture");
 
    /* set BCS_SWCTRL */
    swctrl = 0x0;
@@ -84,7 +84,7 @@ ilo_blitter_blt_begin(struct ilo_blitter *blitter, int max_cmd_size,
       max_cmd_size += (4 + 3) * 2;
 
    if (ilo_cp_space(ilo->cp) < max_cmd_size) {
-      ilo_cp_flush(ilo->cp, "out of space");
+      ilo_cp_submit(ilo->cp, "out of space");
       assert(ilo_cp_space(ilo->cp) >= max_cmd_size);
    }