broadcom/vc5: Enable the driver on V3D 4.1
authorEric Anholt <eric@anholt.net>
Thu, 4 Jan 2018 19:33:16 +0000 (11:33 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 13 Jan 2018 05:54:12 +0000 (21:54 -0800)
src/gallium/drivers/vc5/vc5_screen.c

index 7c1d855..898f7a2 100644 (file)
@@ -560,7 +560,7 @@ vc5_get_device_info(struct vc5_screen *screen)
         uint32_t minor = (ident1.value >> 0) & 0xf;
         screen->devinfo.ver = major * 10 + minor;
 
-        if (screen->devinfo.ver != 33) {
+        if (screen->devinfo.ver != 33 && screen->devinfo.ver != 41) {
                 fprintf(stderr,
                         "V3D %d.%d not supported by this version of Mesa.\n",
                         screen->devinfo.ver / 10,