sna/gen4: Remove long dead code for forced batch emission between CA passes
Forcing the batch emission on virtually every glyph eats a lot of CPU time sending very short commands to the GPU, and is totally unnecessary. Reported-by: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
6316905983
commit
0e1abe3cd0
|
|
@ -632,9 +632,6 @@ static int gen4_get_rectangles__flush(struct sna *sna,
|
|||
if (!kgem_check_reloc_and_exec(&sna->kgem, 2))
|
||||
return 0;
|
||||
|
||||
if (op->need_magic_ca_pass && sna->render.vbo)
|
||||
return 0;
|
||||
|
||||
if (sna->render.vertex_offset) {
|
||||
gen4_vertex_flush(sna);
|
||||
if (gen4_magic_ca_pass(sna, op))
|
||||
|
|
|
|||
Loading…
Reference in New Issue