freedreno: add non-draw batches for compute/blit
authorRob Clark <robdclark@gmail.com>
Fri, 24 Nov 2017 15:37:22 +0000 (10:37 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 17 Dec 2017 17:41:32 +0000 (12:41 -0500)
commitb852c3bf67cf1a047b8d17391506b19b5d1bdb70
tree5ad211f396896f763f521ac20c220acc88bab0cb
parent2697480c923e4c811d9b9f11169de6be55ae38da
freedreno: add non-draw batches for compute/blit

Get rid of "gmem" (ie. tiling) ringbuffer, and just emit setup commands
directly to "draw" ringbuffer for compute (and in future for blits not
using the 3d pipe).  This way we can have a simple flat cmdstream buffer
and bypass setup related to 3d pipe.

Signed-off-by: Rob Clark <robdclark@gmail.com>
12 files changed:
src/gallium/drivers/freedreno/a5xx/fd5_compute.c
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_batch.h
src/gallium/drivers/freedreno/freedreno_batch_cache.c
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_draw.c
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_gmem.h
src/gallium/drivers/freedreno/freedreno_query.c
src/gallium/drivers/freedreno/freedreno_query.h
src/gallium/drivers/freedreno/freedreno_query_sw.c