Skip to content

v3d: implement tile-based blit fastpath

Juan A. Suárez requested to merge jasuarez/mesa:review/v3d-tlb-blit into master

This series add a new fastpath for blitting operation in the v3d using the tile buffer (TLB) hardware.

One of the main advantages is that under certain circunstances the TLB can perform multisampling resolve, which is more efficient than the default blitter.

I didn't make a proper performance measure, but using a small piglit example I made that executes different blit operations combining both multisampled and non-multisampled textures, went from running the test in 0.31754s to 0.29872s (mean times in 50 executions). It is important to note that this test does mostly exercises all paths we have in the blit (using TLB, TFU and default blitter), so the improvement is due some of the blit operations using the new TLB-based blit instead of blitter.

Merge request reports