OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 7 Jul 2016 15:12:33 +0000 (16:12 +0100)
commit8a700c562c17eacc5a396610283ea44ef414445c
tree3b76e6dfaebbbbae7bb8171f384114937c66c32e
parentdcc4df858ae8c6bc33adb6956e16aaedd5b5413f
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>
(cherry picked from commit 7295428e4183cca1840e7ed02159519734fdab0a)
src/gallium/drivers/freedreno/freedreno_context.h