etnaviv: GC7000: BLT engine blitting support

Graphics / Mesa 3D Graphics Library / Mesa - Wladimir J. van der Laan [gmail.com] - 30 November 2017 06:27 EST

Add an implemenation of key clear_blit functions using the BLT engine that replaced the RS on GC7000.

Also set level->size correctly for imported resources. This is important for the BLT resolve-in-place path to work for them.

dd3a04c2c3 etnaviv: GC7000: BLT engine blitting support
src/gallium/drivers/etnaviv/Makefile.sources | 3 +
src/gallium/drivers/etnaviv/etnaviv_blt.c | 562 +++++++++++++++++++++++
src/gallium/drivers/etnaviv/etnaviv_blt.h | 100 ++++
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c | 8 +-
src/gallium/drivers/etnaviv/etnaviv_context.c | 6 +-
src/gallium/drivers/etnaviv/etnaviv_internal.h | 2 +
src/gallium/drivers/etnaviv/etnaviv_resource.c | 1 +
src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 +
src/gallium/drivers/etnaviv/meson.build | 3 +
9 files changed, 684 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share