diff options
author | Rob Clark <[email protected]> | 2016-11-08 10:50:03 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-11-30 12:35:49 -0500 |
commit | 946cf4eb6846767306a221eec7d0f82d20dfb6b5 (patch) | |
tree | bb35f2837a125ed66736c7ff96be954685891b09 /src/gallium/drivers/freedreno/freedreno_gmem.c | |
parent | fcba3046e1b90ecec6f5f4ad5397cd36e0c740ac (diff) |
freedreno/a5xx: initial support
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_gmem.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index b94e33d285e..3656538f26c 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -69,7 +69,7 @@ static uint32_t bin_width(struct fd_screen *screen) { - if (is_a4xx(screen)) + if (is_a4xx(screen) || is_a5xx(screen)) return 1024; if (is_a3xx(screen)) return 992; @@ -339,6 +339,9 @@ render_tiles(struct fd_batch *batch) /* emit gmem2mem to transfer tile back to system memory: */ ctx->emit_tile_gmem2mem(batch, tile); } + + if (ctx->emit_tile_fini) + ctx->emit_tile_fini(batch); } static void |