From 62360e92ec97d59389330a5aeb070416523da774 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 29 Mar 2019 15:38:15 -0700 Subject: 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: mesa-stable@lists.freedesktop.org --- src/broadcom/common/v3d_limits.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/broadcom/common') 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 -- cgit v1.2.3