Skip to content
Snippets Groups Projects
Commit 7295428e authored by Rob Clark's avatar Rob Clark :speech_balloon:
Browse files

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: default avatarRob Clark <robdclark@gmail.com>
parent 01ccb0d9
No related branches found
No related tags found
Loading
...@@ -316,7 +316,7 @@ struct fd_context { ...@@ -316,7 +316,7 @@ struct fd_context {
*/ */
struct fd_gmem_stateobj gmem; struct fd_gmem_stateobj gmem;
struct fd_vsc_pipe pipe[8]; 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: */ /* which state objects need to be re-emit'd: */
enum { enum {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment