freedreno/a3xx: fix hang w/ large render targets and small gmem
authorRob Clark <robdclark@gmail.com>
Sat, 6 May 2017 18:00:35 +0000 (14:00 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 6 May 2017 18:16:33 +0000 (14:16 -0400)
commit6050d5bf3d8d0043386de35cad4efa77e8be957e
tree54a904c73e0ec0792855fa650a877d025d7b1d17
parent4fadfbf17645ed8045ac090ef2c704303a107c77
freedreno/a3xx: fix hang w/ large render targets and small gmem

Possibly other gen's have a similar limit.  Fixes glmark2 -b shadow
with larger resolutions on devices with small gmem (for example,
fullscreen 1080p on 8x16/db410c).

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_gmem.h