diff options
author | Rob Clark <[email protected]> | 2016-07-03 11:16:28 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-03 11:16:28 -0400 |
commit | 7295428e4183cca1840e7ed02159519734fdab0a (patch) | |
tree | 29dd1c3439a0a0353f520f849a2d948bd105eea6 | |
parent | 01ccb0d91e6f976716eb79cdb0fb11ad4d0b4fcf (diff) |
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 <[email protected]>
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h index fe2a94c9907..438c2e27035 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.h +++ b/src/gallium/drivers/freedreno/freedreno_context.h @@ -316,7 +316,7 @@ struct fd_context { */ struct fd_gmem_stateobj gmem; struct fd_vsc_pipe pipe[8]; - struct fd_tile tile[256]; + struct fd_tile tile[512]; /* which state objects need to be re-emit'd: */ enum { |