freedreno: fix crash on smaller gpus and higher resolutions
authorRob Clark <robdclark@gmail.com>
Sun, 3 Jul 2016 15:16:28 +0000 (11:16 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 3 Jul 2016 15:16:28 +0000 (11:16 -0400)
commit7295428e4183cca1840e7ed02159519734fdab0a
tree29dd1c3439a0a0353f520f849a2d948bd105eea6
parent01ccb0d91e6f976716eb79cdb0fb11ad4d0b4fcf
freedreno: fix crash on smaller gpus and higher resolutions

Devices with smaller GMEM size need more tiles.  On db410c at 2048x1152,
glmark2 shadow needed ~330 tiles for fullscreen.  Lets bump it up to
512.  (Maybe with MRT you could end up needing more, but at that point
things are probably going to be painfully slow.)

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_context.h