freedreno/a6xx: fix hang with large render target
authorRob Clark <robdclark@chromium.org>
Tue, 25 Aug 2020 20:02:34 +0000 (13:02 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 Aug 2020 22:20:41 +0000 (22:20 +0000)
commit39d00722b22a0059bbc58f0158a22f384519cd39
treeba3156481aa88c4b5edf8e0e35099726b5e3d1ae
parent0f3c12c0ab05bd4f481f2b4c3397e1ddae1fb95d
freedreno/a6xx: fix hang with large render target

It seems we do have some limits.  Similar to older gens, # of tiles per
pipe cannot be more than 32.  But I could not trigger any hangs with 16
or more tiles per pipe in either X or Y direction, so that limit does
not seem to apply.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6461>
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c