freedreno: a2xx: same gmem2mem sequence for all tiles
authorJonathan Marek <jonathan@marek.ca>
Mon, 18 Feb 2019 10:15:01 +0000 (11:15 +0100)
committerRob Clark <robdclark@gmail.com>
Tue, 23 Apr 2019 17:13:32 +0000 (17:13 +0000)
commitd133f55a9985a8941a37c336395e88757e69afeb
tree687d25f34c7236e5720f6dfba9edce847875775a
parent4107e0678a56c457b587a132cd16a78583192059
freedreno: a2xx: same gmem2mem sequence for all tiles

Set REG_A2XX_RB_COPY_DEST_OFFSET in the tile init as it won't get touched
by the draw batch. Then gmem2mem is the same for all tiles.

Similar to what is done in a6xx, but only for gmem2mem.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_gmem.c