gallium: add FMA and DFMA opcodes (v3)
[mesa.git] / src / gallium / drivers / freedreno / freedreno_gmem.c
index 392c547c1372d26a6a0922c9c893672d4ae8b12a..4040d1f76152f6862188cdb9d639020394ee561c 100644 (file)
@@ -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;
 }