Skip to content

freedreno: draw overhead from repeated relocs in rb objects

Emma Anholt requested to merge anholt/mesa:fd-overhead-reloc-repeats into master
    freedreno: Avoid duplicate BO relocs in FD_RINGBUFFER_OBJECTs.
    
    For the piglit drawoverhead case, 5/18 of the objects' relocs were
    duplicated.  We can dedupe them at object create time (since objects are
    long-lived) and avoid repeated relocation work at emit time.
    
    nohw drawoverhead program statechange throughput 2.34082% +/- 0.645832%
    (n=10).

(and a commit for a bug I noticed while debugging resource performance stuff)

Merge request reports