From: Eric Anholt Date: Mon, 6 Mar 2017 23:45:32 +0000 (-0800) Subject: vc4: Enable V3D 2.6. X-Git-Tag: android-x86-8.1-r1~14510 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c1362e78ad8fd1fec842f136b6ef8d927e9327ed;p=android-x86%2Fexternal-mesa.git vc4: Enable V3D 2.6. This version of the chip is present on the Cygnus-based 911360 enterprise phone platform. It appears to be completely backwards compatible. --- diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index 27d23dc964c..b5b1ced49fd 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -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,