Mesa (master): vc4: Enable V3D 2.6.

Eric Anholt anholt at kemper.freedesktop.org
Tue Apr 18 20:22:04 UTC 2017


Module: Mesa
Branch: master
Commit: c1362e78ad8fd1fec842f136b6ef8d927e9327ed
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1362e78ad8fd1fec842f136b6ef8d927e9327ed

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Mar  6 15:45:32 2017 -0800

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.

---

 src/gallium/drivers/vc4/vc4_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c
index 27d23dc964..b5b1ced49f 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,




More information about the mesa-commit mailing list