OSDN Git Service

vc4: Enable V3D 2.6.
authorEric Anholt <eric@anholt.net>
Mon, 6 Mar 2017 23:45:32 +0000 (15:45 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Apr 2017 20:21:40 +0000 (13:21 -0700)
This version of the chip is present on the Cygnus-based 911360 enterprise
phone platform.  It appears to be completely backwards compatible.

src/gallium/drivers/vc4/vc4_screen.c

index 27d23dc..b5b1ced 100644 (file)
@@ -587,7 +587,7 @@ vc4_get_chip_info(struct vc4_screen *screen)
         uint32_t minor = (ident1.value >> 0) & 0xf;
         screen->v3d_ver = major * 10 + minor;
 
-        if (screen->v3d_ver != 21) {
+        if (screen->v3d_ver != 21 && screen->v3d_ver != 26) {
                 fprintf(stderr,
                         "V3D %d.%d not supported by this version of Mesa.\n",
                         screen->v3d_ver / 10,