diff options
author | Eric Anholt <[email protected]> | 2019-03-29 15:38:15 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-04-04 17:30:35 -0700 |
commit | 62360e92ec97d59389330a5aeb070416523da774 (patch) | |
tree | 975d270e62517ea2c67cae69620580672219a6c3 /src/broadcom/common | |
parent | e3063a8b2fd7364c9beeb059599a7d4e62c9b4c5 (diff) |
v3d: Bump the maximum texture size to 4k for V3D 4.x.
4.1 and 4.2 both have the same 16k limit, but it I'm seeing GPU hangs in
the CTS at 8k and 16k. 4k at least lets us get one 4k display working.
Cc: [email protected]
Diffstat (limited to 'src/broadcom/common')
-rw-r--r-- | src/broadcom/common/v3d_limits.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/broadcom/common/v3d_limits.h b/src/broadcom/common/v3d_limits.h index ee7a3e6bc00..e21ee246eff 100644 --- a/src/broadcom/common/v3d_limits.h +++ b/src/broadcom/common/v3d_limits.h @@ -32,7 +32,8 @@ */ #define V3D_MAX_TEXTURE_SAMPLERS 16 -#define V3D_MAX_MIP_LEVELS 12 +/* The HW can do 16384 (15), but we run into hangs when we expose that. */ +#define V3D_MAX_MIP_LEVELS 13 #define V3D_MAX_SAMPLES 4 |