diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_gmem.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index 392c547c137..4040d1f7615 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -69,7 +69,9 @@ static uint32_t bin_width(struct fd_context *ctx) { - if (ctx->screen->gpu_id >= 300) + if (is_a4xx(ctx->screen)) + return 1024; + if (is_a3xx(ctx->screen)) return 992; return 512; } |